-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use categoricalarrays 6.0 #44
Comments
Thanks for that. Yes the first two are resolved but unfortunately the last is not and it is a pretty serious issue (I would say a bug) without a straightforward workaround. @nalimilan has formulated a plan to resolve the issue, but as this looks fairly low-level, I don't think it would be efficient for us to make our own PR. I agree this is annoying. Apart from the warning, having a cap on the version causes people not familiar with the package manager some pain in updating MLJ. |
Sorry, I haven't fixed that yet since an efficient solution requires a bit of work. But maybe we can go with the inefficient solution for now. Can you confirm that this branch fixes the problems you encounter? |
@nalimilan Thank you so much for looking into this! Some things are now working. However, I'm having some issues with Under CategoricalArrays 0.5.2 the following code throws no error. However, an error is thrown on nl/setindex! branch, unless you do relabelling using CategoricalArrays
y = categorical(["B", "A"])
b = y[1]
a = y[2]
z = [b, a]
@assert y[1].pool.valindex == z[1].pool.valindex "something unexpected" |
OK, good to know. I'll try to add tests and turn this into a proper PR then. Regarding the |
Resolved in MLJBase 0.7.0 |
They released it 2 weeks ago with a number of fixes including the annoying
`T` is deprecated, use `nonmissingtype` instead.
; should we start using it?it seems the issues you had are:
unique
method JuliaData/CategoricalArrays.jl#129 --> no longer relevant as per your messageThe text was updated successfully, but these errors were encountered: