Install anaconda__ start machine learning from SVM

Source: Internet
Author: User
Tags svm jupyter notebook

Machine learning process, in addition to Spyder,anaconda is also a kind of python, it is an open source release version, mainly for scientific computing. It seems to me that the main advantage is that many third-party libraries are pre-installed, and the Conda Install command is added to the anaconda, which is especially handy for installing new package, and bringing Spyder IDE and Jupyter notebook, etc.

Download:

Download from the official website: Download Anaconda now! But the official website speed is relatively slow, not very recommended.

Download from Tsinghua Mirror: Tsinghua Open Source Mirror (recommended)

Installation

A lot of tutorials on the web

Verify

Enter cmd, input Conda list will have a large amount of information output or failure

Application

1 The first is the completion of an operating system that can accommodate python2.x and python3.x, such as the native originally installed python2.7, if you need to install python3.5 again:

Set up a domestic mirror, because the anaconda.org server is abroad. Fortunately, Tsinghua Tuna mirror source has anaconda warehouse image, we will add it to the Conda configuration. Run the following code in CMD:

Conda config--add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
Conda config--set show_ Channel_urls Yes
Add the 3.5 version of Python, you can do the following. (Similarly, if you want to add Python 2.x, then the 3.52 in the operation is changed to 2.7)
Conda create-n test_py3 python=3.5

The above creates the python3.5 environment, the corresponding folder name: Test_py3

Test_py3 files will exist in the/envs under the Anaconda installation directory

If you need to switch the python environment of the machine from 2.x to 3.x, just

Activate Test_py3

At this point cmd into Python, you will see is Python 3.5:

Exit

Deactivate

Delete this environment:

2 Although the command window implemented python different versions of the free switch, but Spyder opened after the default is always the python2.7, this is because python3.5 did not install Spyder, need to be installed in different environments.

After using Activate Test_py3, enter the Conda list and find that there is no Spyder, which requires installation,

First search has no

Conda Search Spyder

And then install

Conda Install Spyder

This is done in two steps in the Command box:

Activate to the specified Python version-------------> followed by the input Spyder, running the corresponding version of Spyder


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.