Machine Learning---python environment setup

Source: Internet
Author: User

One installation python2.7

Go to https://www.python.org/downloads/Download, and then click Install, remember your installation path, and then go to set the environment variables, these self-Baidu a bit better. Since 2.7 does not have a PIP, it is best to install it. This is https://pypi.python.org/pypi/pip#downloads. After downloading, click Start, search CMD. Input

Python setup.py Install
You enter PIP in cmd to show this, which means PIP also does not set environment variables, you just go to your Python installation directory to find the Scripts folder. Copy this address, and then set the environment variable to do it.
Set the environment variables and enter the PIP.
Two installation numpy and MATPLOTLIB1 NumPy Brief introduction

NumPy is an extension library for the Python language. It supports advanced large number of dimension and matrix operations, and also provides a large number of mathematical libraries for array operations. NumPy's predecessor, Numeric , was originally developed by Jim Hugunin with other collaborators, and in 2005, Travis Oliphant in Numeric combined with another feature of the library Numarray of the same nature, and added other extensions and developed the NumPy. NumPy is open source and co-maintained by many collaborators to develop.

2 Matplotlib Brief Introduction

Matplotlib is a library of very similar MATLAB environments that generate publishing quality data. The user can output the data in a pop-up window as a raster format (PNG, TIFF, JPG) or as a vector file (e.g. EPS, PS). Matlab users are familiar with the graphics types and syntax for creating files, especially the Python language that is added through NumPy.

3 Install open cmd. Enter separately

Pip Install NumPy

Pip Install Matlotlib

Get:

So far, our machine learning Python environment has been built. Then come into the machine learning world with me. Together to refuel.

Machine Learning---python environment setup

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.