CentOS Installation Machine Learning Package

Source: Internet
Author: User
Tags mathematical functions

I. Overview
Writing the machine learning code in Python is fairly straightforward, because there are a lot of machine learning libraries under Python. The following three library numpy,scipy,matplotlib,scikit-learn are commonly used combinations, namely scientific computing packages, scientific toolset, drawing Toolkit, machine learning toolset.
NumPy: Mainly used to do some scientific operations, mainly the operation of the Matrix. NumPy brings true multidimensional array functionality to Python and provides a rich library of functions to handle these arrays. It will be used in the mathematical functions of the array, so that these mathematical functions can be directly in the operation of the array, the need to be at the python level of the loop, put in the C language operations, obviously improve the program's operation speed. "1"
SciPy: Mainly a set of scientific tools, a set of signal processing tools (such as linear algebra using a lapack library, a fast Fourier transform using a fftpack library) and some tools for numerical calculations (ordinary differential equations are solved using odepack libraries, nonlinear equations and minimum value solutions, etc.) "1".
Scikit-learn: There are a lot of machine learning related algorithms (such as clustering algorithms, SVM, etc.). "2"
Matplotlib: is a drawing tool similar to drawing engineering in MATLAB.

Two. Installation

To switch to the root administrator user, know the following command to install:

Yum-y install gcc gcc-c++ numpy python-devel scipy

Yum Install Python-matplotlib

Yum Install Python-pip

Pip Install-u Scikit-learn

CentOS Installation Machine Learning Package

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.