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...


Tell me how is knn different from k-means clustering?



Tell me how is knn different from k-means clustering?..

Answer / Jayant Sachan

KNN (k-Nearest Neighbors) and k-Means Clustering are two common machine learning algorithms, but they differ significantly in their approach to data classification. KNN is a supervised learning algorithm used for both classification and regression problems, while k-Means is an unsupervised learning algorithm used primarily for clustering. In KNN, the algorithm classifies data points based on similarity measurements (such as distance) to its k-nearest neighbors in the training dataset. On the other hand, k-Means partitions the data into distinct clusters by minimizing the sum of squared differences between each data point and its assigned cluster's centroid.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AI Machine Learning Interview Questions

Why is python so popular in machine learning?

1 Answers  


What is pruning in decision trees?

1 Answers  


What are the types of machine learning?

1 Answers  


What are the different types of algorithm methods in machine learning?

1 Answers  


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

0 Answers  


What are the similarities and differences between bagging and boosting in machine learning?

1 Answers  


What is false positive and false negative in terms of machine learning?

1 Answers  


Describe precision and recall?

1 Answers  


What is regularization? What kind of problems does regularization solve?

1 Answers  


Differentiate between statistics and ML?

1 Answers  


What is the convex hull?

1 Answers  


Explain me how would you handle an imbalanced dataset?

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)