"Play machine learning with Python" KNN * sequence

Source: Internet
Author: User

This period of work is too busy, a long time no study. These two days, after work, occasionally at home to turn over books, right vote as a rest.

I have always been a loyal user of C/C + +, especially the fans of the fan--simple concept, efficient operation--the computer professional people, without C language, do not understand the operating mechanism and process of the bottom of the program, and those outside the professional will only call interface, function of the students what is the difference? However, the last year has been slowly to understand, try Python. The reason is simple, the development cost is too low. C + + is like a complex vacuum cleaner, dishwasher, the advantages are high efficiency, the shortcomings are cumbersome, and different scenes to different adaptation; Python is like a dirty rag, where all can be used, and then throw away, and then pick up a new rag at the cost of a little ... Better suited to my current needs. Said more. Besides, it's going to cause a curse. Oh, plus, one of the secondary reasons for Python is that I found a better Python ide (pycharm), though it's no better than Microsoft's Visual Studio, but it's much more than the one that comes with it-if it's written in C, Helpless is written in Java, startup speed huge slow ~ ~

Recently turned over the book "Machine Learning in Action". The book uses Python to implement some machine learning algorithms. I want to get these things over again. Several reasons: 1. Machine learning algorithm, do not write it yourself, debugging run again, some of the details of the problem is impossible to understand; 2. Practice Python and numpy;3. The code in the book is so ugly, I can't bear it!

In the next blog post, the principle of KNN is not introduced. Next, directly paste the code, occasionally interspersed with two sentences.


If reproduced, please specify the source: http://blog.csdn.net/xceman1997/article/details/44993741


"Play machine learning with Python" KNN * sequence

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.