You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I update my scikit-learn and then using Cluster_Ensembles package, an error happened: ImportError: cannot import name 'jaccard_similarity_score' from 'sklearn.metrics'
Now I solved this problem, I go to my C:\Users\china\Anaconda3\Lib\site-packages\Cluster_Ensembles folder, modify "Cluster_Ensembles.py" file's 37 line,
from: from sklearn.metrics import jaccard_similarity_score
to: from sklearn.metrics import jaccard_score
then it is solved, reference by DiamondLightSource/SuRVoS#103.
Maybe you can modify this sentence by scikit-learn version selection.
The text was updated successfully, but these errors were encountered:
Hi, when I update my scikit-learn and then using Cluster_Ensembles package, an error happened:
ImportError: cannot import name 'jaccard_similarity_score' from 'sklearn.metrics'
Now I solved this problem, I go to my C:\Users\china\Anaconda3\Lib\site-packages\Cluster_Ensembles folder, modify "Cluster_Ensembles.py" file's 37 line,
from: from sklearn.metrics import jaccard_similarity_score
to: from sklearn.metrics import jaccard_score
then it is solved, reference by DiamondLightSource/SuRVoS#103.
Maybe you can modify this sentence by scikit-learn version selection.
The text was updated successfully, but these errors were encountered: