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