Skip to content

jaccard_similarity_score import error #20

Description

@Yanwen-Wang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions