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?



Explain how is knn different from k-means clustering?..

Answer / 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

More AI Machine Learning Interview Questions

What is keras sequential model?

1 Answers  


Who is associated with the theory of symbolic learning?

1 Answers  


What is the baseline in machine learning?

1 Answers  


What is an Incremental Learning algorithm in ensemble?

1 Answers  


Tell me what is the difference between bias and variance?

1 Answers  


What is the benefit of naive bayes in machine learning?

1 Answers  


How do I become a machine learning scientist?

1 Answers  


Explain what is the function of ‘Unsupervised Learning’?

1 Answers  


Why are vectors and norms used in machine learning?

1 Answers  


Explain the Algorithm of Neural Networks (back propagation) in Machine Learning?

1 Answers  


What are the basics of machine learning?

1 Answers  


Is naive bayes a supervised or unsupervised method?

1 Answers  


Categories
  • AI Algorithms Interview Questions AI Algorithms (74)
  • AI Natural Language Processing Interview Questions AI Natural Language Processing (96)
  • AI Knowledge Representation Reasoning Interview Questions AI Knowledge Representation Reasoning (12)
  • AI Robotics Interview Questions AI Robotics (183)
  • AI Computer Vision Interview Questions AI Computer Vision (13)
  • AI Neural Networks Interview Questions AI Neural Networks (66)
  • AI Fuzzy Logic Interview Questions AI Fuzzy Logic (31)
  • AI Games Interview Questions AI Games (8)
  • AI Languages Interview Questions AI Languages (141)
  • AI Tools Interview Questions AI Tools (11)
  • AI Machine Learning Interview Questions AI Machine Learning (659)
  • Data Science Interview Questions Data Science (671)
  • Data Mining Interview Questions Data Mining (120)
  • AI Deep Learning Interview Questions AI Deep Learning (111)
  • Generative AI Interview Questions Generative AI (153)
  • AI Frameworks Libraries Interview Questions AI Frameworks Libraries (197)
  • AI Ethics Safety Interview Questions AI Ethics Safety (100)
  • AI Applications Interview Questions AI Applications (427)
  • AI General Interview Questions AI General (197)
  • AI AllOther Interview Questions AI AllOther (6)