Machine learning preparation.

 Machine Learning Python Package Installation

Machine learning requires several Python modules and libraries. We will look at how to build a model from scratch as well as how to build a model using a library.

Anaconda Package Download Installation (Python 2.6)

Throughout the course, we will use the Python 2.8 version. So the Python version of the Anaconda package should also be 2.8.

Windows

Download for Windows 32 bit (335MB)

Download for Windows 64 bit (281MB)

You have to download and install the general software in the same way. If you go to the Start Menu and search for Spyder, you will get the IDE.

OSX

64-bit download

Linux

64-bit download (392MB)

32-bit download (332MB)

After the download, go to the download directory and enter the following command in the terminal,

bash Anaconda2-4.0.0-Linux-x68_64.sh

Spyder IDE

Open the Spyder IDE and run the following code, if it works then your computer is ready for machine learning.

from sklearn.linear_model import LinearRegression

print sklearn .__ version__



Anaconda Official Website

Official website

In the next section we will look at regression analysis through examples.

Comments