Difference between revisions of "K-Nearest Neighbors (KNN)"

From
Jump to: navigation, search
m
Line 7: Line 7:
 
This is a simple algorithm which predicts unknown data point with its k nearest neighbors. The value of k is a critical factor here regarding the accuracy of prediction. It determines the nearest by calculating the distance using basic distance functions like Euclidean. However, this algorithm needs high computation power and we need to normalize data initially to bring every data point to same range. [http://towardsdatascience.com/10-machine-learning-algorithms-you-need-to-know-77fb0055fe0 10 Machine Learning Algorithms You need to Know | Sidath Asir @ Medium]
 
This is a simple algorithm which predicts unknown data point with its k nearest neighbors. The value of k is a critical factor here regarding the accuracy of prediction. It determines the nearest by calculating the distance using basic distance functions like Euclidean. However, this algorithm needs high computation power and we need to normalize data initially to bring every data point to same range. [http://towardsdatascience.com/10-machine-learning-algorithms-you-need-to-know-77fb0055fe0 10 Machine Learning Algorithms You need to Know | Sidath Asir @ Medium]
  
https://cdn-images-1.medium.com/max/800/1*9h-WczF6csbeut5vsvjSUA.gif
+
http://cdn-images-1.medium.com/max/800/1*9h-WczF6csbeut5vsvjSUA.gif
  
 
<youtube>MDniRwXizWo</youtube>
 
<youtube>MDniRwXizWo</youtube>

Revision as of 02:43, 26 December 2018

YouTube search...

This is a simple algorithm which predicts unknown data point with its k nearest neighbors. The value of k is a critical factor here regarding the accuracy of prediction. It determines the nearest by calculating the distance using basic distance functions like Euclidean. However, this algorithm needs high computation power and we need to normalize data initially to bring every data point to same range. 10 Machine Learning Algorithms You need to Know | Sidath Asir @ Medium

1*9h-WczF6csbeut5vsvjSUA.gif