Skip to content
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

must use scikit-learn <=0.20.4 #18

Open
davecampbell opened this issue Dec 2, 2020 · 0 comments
Open

must use scikit-learn <=0.20.4 #18

davecampbell opened this issue Dec 2, 2020 · 0 comments

Comments

@davecampbell
Copy link

got errors that pointed to a different name for jaccard scoring module.

ImportError: cannot import name 'jaccard_similarity_score' from 'sklearn.metrics' (/opt/conda/lib/python3.7/site-packages/sklearn/metrics/__init__.py)

looks like the last version to use the format you use is 0.20.4
this worked for me and the program executed perfectly.

pip uninstall scikit-learn
Found existing installation: scikit-learn 0.23.2
Uninstalling scikit-learn-0.23.2:
  Would remove:
    /opt/conda/lib/python3.7/site-packages/scikit_learn-0.23.2.dist-info/*
    /opt/conda/lib/python3.7/site-packages/sklearn/*
Proceed (y/n)? y
  Successfully uninstalled scikit-learn-0.23.2
daveccampbell@tensorflow-115-vm:~/projects$ pip install scikit-learn==0.20.4
@davecampbell davecampbell changed the title must use scikit-learn <=0.20.1 must use scikit-learn <=0.20.4 Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant