Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain how is knn different from k-means clustering?

Answer Posted / Raj Bhushan Dube

K-nearest neighbors (knn) and k-means clustering are two popular machine learning algorithms used for data classification and clustering, but they differ significantly in their approach. k-means clustering is an unsupervised learning algorithm that groups similar data points together based on the Euclidean distance. It assigns each data point to one of k clusters by minimizing the sum of squared distances between a data point and its assigned cluster's centroid. On the other hand, knn is a supervised learning algorithm that classifies new data points based on the majority vote of their k-nearest neighbors in the training dataset. Unlike k-means, it does not require predefined clusters.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you have research experience in machine learning?

73


What are standardization and normalisation? Give one advantage of each over the other?

74


Tell me what are the last machine learning papers you've read?

209


Tell us do you have research experience in machine learning?

149