
上QQ阅读APP看书,第一时间看更新
The scikit-learn library
Scikit-learn is the leading Python library for machine learning and data science in general. Scikit-learn is open source and built on top of NumPy, SciPy, and matplotlib. It contains a wide range of machine learning models and algorithms, including classification, regression, clustering, dimensionality reduction, model selection, data preprocessing, metrics, and many other valuable things. Scikit-learn can be installed with pip as follows:
pip install sklearn
Now that we have installed our libraries, it is time to make sure everything works as expected.