Open gejinhuan opened 2 years ago
请问解决了吗我也遇到了
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!