
上QQ阅读APP看书,第一时间看更新
Verifying the installation
To verify that scikit-learn has been installed correctly, open a Python console and execute the following:
# In[1]:
import sklearn
sklearn.__version__
# Out[1]:
'0.18.1'
To run scikit-learn's unit tests, first install the nose Python library. Then execute the following in a terminal emulator:
$ nosetest sklearn -exe
Congratulations! You've successfully installed scikit-learn.