Answers for "install sklearn in conda"

2

install sklearn with conda

conda install scikit-learn
Posted by: Guest on March-10-2021
5

conda install sklearn

conda install -c conda-forge scikit-learn
Posted by: Guest on March-30-2021
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 update sklearn

conda config --append channels conda-forge
conda install scikit-learn=0.19.2
Posted by: Guest on September-10-2020
1

conda install sklearn

python3 -m venv sklearn-venvpython -m venv sklearn-venvpython -m venv sklearn-venvsource sklearn-venv/bin/activatesource sklearn-venv/bin/activatesklearn-venvScriptsactivatepip install -U scikit-learnpip install -U scikit-learnpip install -U scikit-learnpip3 install -U scikit-learnconda create -n sklearn-envconda activate sklearn-envconda install scikit-learn
Posted by: Guest on August-20-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language