-
Notifications
You must be signed in to change notification settings - Fork 156
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
Can't load KMeans from ParallelKMeans #740
Comments
Thanks for reporting! It's possible this will be resolved by: Still, this should not have happened. Can you please post the output of using Pkg
Pkg.status() and Pkg.status(mode=PKGMODE_MANIFEST) |
|
A fix is currently being tested with regards to issues with Julia 1.3 and ParallelKMeans. @simonschoelly, I also suggest that u always install the latest versions of the package as I can see your load preloads |
Right, here's the issue. The version of ParallelKMeans in your environment 0.1.0 pre-dates its implementation of the MLJ model interface. For this reason you are allowed to have it in the same environment as the latest version of MLJ 0.16, even though MLJ 0.16 is incompatible with every version of ParallelKMeans <= 0.1.9 that does implement the MLJ model interface. So, indeed the compatibility update for ParallelKMeans should resolve your issue. Alternatively, you should be able to use ParallelKMeans 0.1.9 with the older MLJ version 0.15.2. Still, the error message you received is not helpful. Closing in favour of JuliaAI/MLJModels.jl#363 |
This should now be resolved if you update your ParallelKMeans version. Re-open if you continue to have problems. |
I can confirm that it works now. Thanks for your help. |
Describe the bug
Loading
KMeans
from theParallelKMeans.jl
does not work even though that model is listed when callingmodels()
with the entry(name = KMeans, package_name = ParallelKMeans, ... )
.To Reproduce
output:
Expected behavior
A constructor for a
KMeans
model should be loaded.Additional context
Doing the same with
pkg=Clustering
works.Versions
MLJ v0.16.0
MLJClusteringInterface v0.1.3
ParallelKMeans v0.1.0
Julia: 1.6.0-beta1
No output when running
using MLJ
The text was updated successfully, but these errors were encountered: