How k-means clustering is different from knn?
Answer / Raj Kapoor Agrahari
K-means clustering and k-nearest neighbors (kNN) are two distinct machine learning algorithms. K-means is an unsupervised learning algorithm used for grouping data into clusters, while kNN is a supervised learning algorithm used for classification or regression tasks. In k-means, the goal is to find the optimal number of clusters (k), and assign each data point to one of those clusters based on distance, whereas in kNN, the goal is to predict the label of an unseen sample by finding its k nearest neighbors in the training data.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does 1080ti have tensor cores?
What are tensorflow loaders?
What is scalar dashboard?
What do you know about tensors?
What are sources in Tensorflow?
Explain tensorflow optimizing for cpu?
How to Retrain an Image Classifier for New Categories ?
What are the sources in tensorflow?
Which unit gives non-linearity to a neural network?
Is the rtx 2070 better than the gtx 1080?
How to run tensorflow on hadoop?
Describe the common steps to most tensorflow algorithms?
AI Algorithms (74)
AI Natural Language Processing (96)
AI Knowledge Representation Reasoning (12)
AI Robotics (183)
AI Computer Vision (13)
AI Neural Networks (66)
AI Fuzzy Logic (31)
AI Games (8)
AI Languages (141)
AI Tools (11)
AI Machine Learning (659)
Data Science (671)
Data Mining (120)
AI Deep Learning (111)
Generative AI (153)
AI Frameworks Libraries (197)
AI Ethics Safety (100)
AI Applications (427)
AI General (197)
AI AllOther (6)