Getting an error when attempting to unpack the Boston RDataset
y, X = MLJBase.unpack(boston, ==(Symbol(outcome_name)), colname -> true)
UndefVarError: unpack not defined
Stacktrace:
[1] getproperty(::Module, ::Symbol) at .\Base.jl:13
[2] top-level scope at In[6]:1
When I go to look up documentation:
?unpack
search: uncompact
Couldn't find unpack
Perhaps you meant unstack, unlock, unmark, stack or uncompact
No documentation found.
Binding unpack does not exist.
Thoughts? Ive tried updating and re-adding the packages within the MLJ Universe.
@Phillip_Sutton apologies, youβre experiencing the pains that I warned (on Slack) users may experience due to a significant refactoring cycle that we just completedβ¦ @nilshg is correct.
The easiest is to rm repos that block the way (i.e. other MLJ* repos) to do so: do ] add MLJBase@0.11 and see what it tells you, remove everything until you can add it. Then add MLJ again. (You should get MLJBase 0.11, MLJ 0.9)
using MLJBase, RDatasets
boston = dataset("MASS", "boston")
y, X = unpack(boston, ==(:Crim), colname -> true)
The problems in dependencies kept going and going. Iβm on a new system and ended up reinstalling julia adn adding MLJ first. Everything seems to be working now.