Answers for "sklearn version check"

1

pip install sklearn specific version

pip uninstall scikit-learn
pip install scikit-learn==0.18.2
Posted by: Guest on September-21-2020
0

sklearn version

import nltk
import sklearn

print('The nltk version is {}.'.format(nltk.__version__))
print('The scikit-learn version is {}.'.format(sklearn.__version__))

# The nltk version is 3.0.0.
# The scikit-learn version is 0.15.2.
Posted by: Guest on September-10-2020
0

how to know the version of sklearn

conda list scikit

scikit-learn              0.22.1           py37h6288b17_0
Posted by: Guest on September-10-2020
0

how to check sklearn version in cmd

#from cmd
sklearn_version = sklearn.__version__

print(sklearn_version)
Posted by: Guest on December-08-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language