-
Notifications
You must be signed in to change notification settings - Fork 21
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
No module named 'sklearn.cluster.spectral' #6
Comments
请问解决了吗我也遇到了 |
I solved this by using Python3.6 and sklearn0.19.0 |
You guys can run the sample code? Where did you find the dataset? |
This issue can be solved by installing python==3.6 && sklearn==0.19.0(Command: pip install scikit-learn==0.19) |
if you cannot find spectral, maybe check the folder of sklearn when you run "import sklearn.cluster.spectral". I found that my folder did not have "spectral.py" but have "_spectral.py" and I found “discretize”. Then I change the code with "_spectral" |
I got this issue when I was running the example included in the package. Actually, I have installed the updated version of sklearn and scikit-learn. I have tried python37, 39 and 10 versions, but the issue is still happened. My OS is macos and the environment is Jupyter-lab. Thanks!
The text was updated successfully, but these errors were encountered: