Open davecampbell opened 4 years ago
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
got errors that pointed to a different name for jaccard scoring module.
looks like the last version to use the format you use is 0.20.4 this worked for me and the program executed perfectly.