O'Reilly logo

Ensemble Machine Learning by Ankit Dixit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

KNN classification 

We have used decision trees for classification purposes earlier and have seen their practical applications, which were quiet impressive. Now, it's time to move ahead and add one more simple, yet very powerful, tool to our tool set for classification of data. KNN algorithm, also known as KNN, is widely used in the machine learning community. It is a non-parametric algorithm; that means it doesn't learn any underlying distributions of the dataset. It is originally derived from the k-means clustering algorithm, which is another very popular algorithm for unsupervised classification of data. In k-means clustering, similarity is the criteria to create clusters out of data. The procedure of the k-means algorithm is quiet simple: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required