Win7 64-bit installation of Scikit-learn and some Python packages

Source: Internet
Author: User

Want to use Scikit-learn learn machine learning, yesterday installed a bit, today sorted out.

There are two ways of using this package.

One, simple rough, direct download Winpython, installed can be used, the IDE is a self-brought Spyder.

Second, 1, first install Python, configure environment variables, and so on, this does not say much.

2, install pip:https://bootstrap.pypa.io/get-pip.py directly copy the content to get-pip.py and then Python executes,

  

3, sequentially installed NumPy, scipy, matplotlib, Scikit-learn these packages (WHL format), can be directly used

Pip install numpy command directly installed, but my side of the internet is not stable, so the package down directly installed.

http://www.lfd.uci.edu/~gohlke/pythonlibs/, download the time to pay attention to the corresponding Python version number.

    

4. Test after the installation is complete.

Code reprinted from: http://www.cnblogs.com/zhuyp1015/archive/2012/07/17/2596495.html

""" ' 17*x^2-16*|x|*y + 17*y^2 = 225 ' """ Import NumPy as NP Import  = Np.arange ( -5.0, 5.0, 0.1= Np.arange ( -5.0, 5.0, 0.1==) * x * * 2-16 * NP.ABS (x) * Y + + * y * *2-225='r') plt.show ()

After running with idle:

5, use the example of the official website to run to see it ~

Http://scikit-learn.org/stable/tutorial/basic/tutorial.html#machine-learning-the-problem-setting

Win7 64-bit installation of Scikit-learn and some Python packages

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.