官术网_书友最值得收藏!

Installing scikit-learn

The scikit-learn package is a machine learning library, written in Python (but also containing code in other languages). It contains numerous algorithms, datasets, utilities, and frameworks for performing machine learning. Scikit-learnis built upon the scientific python stack, including libraries such as the NumPy and SciPy for speed. Scikit-learn is fast and scalable in many instances and useful for all skill ranges from beginners to advanced research users. We will cover more details of scikit-learn in Chapter 2, Classifying with scikit-learn Estimators.

To install scikit-learn, you can use the conda utility that comes with Python 3, which will also install the NumPy and SciPy libraries if you do not already have them. Open a terminal with administrator/root privileges and enter the following command:

    $ conda install scikit-learn

Users of major Linux distributions such as Ubuntu or Red Hat may wish to install the official package from their package manager.

Not all distributions have the latest versions of scikit-learn, so check the version before installing it. The minimum version needed for this book is 0.14. My recommendation for this book is to use Anaconda to manage this for you, rather than installing using your system's package manager.

Those wishing to install the latest version by compiling the source, or view more detailed installation instructions, can go to http://scikit-learn.org/stable/install.html and refer the official documentation on installing scikit-learn.

主站蜘蛛池模板: 乐山市| 隆化县| 金昌市| 康平县| 饶阳县| 平阳县| 绥宁县| 通化市| 苏尼特右旗| 丹凤县| 塘沽区| 特克斯县| 定日县| 新化县| 永登县| 监利县| 曲阳县| 乌拉特前旗| 涞水县| 静安区| 曲沃县| 肃北| 永州市| 宜黄县| 舞钢市| 揭东县| 通许县| 界首市| 南通市| 方正县| 汝州市| 得荣县| 贞丰县| 琼中| 洛阳市| 临邑县| 措美县| 伊春市| 葵青区| 曲水县| 金山区|