What role do centroids play in the K-Means clustering algorithm?
- They are the midpoint of clusters
- They define the classes of data
- They determine the number of clusters
- They determine the shape of clusters
In K-Means, centroids are the midpoints of clusters. The algorithm assigns each data point to the nearest centroid, and the centroids are recalculated until convergence.
Loading...
Related Quiz
- You are faced with a multi-class classification problem. How would the choice of K and distance metric affect the KNN algorithm's ability to differentiate between the classes?
- For a medical test, it's crucial to minimize the number of false negatives. Which metric would be particularly important to optimize in this context?
- In the k-NN algorithm, when two classes have a similar number of instances close to a test data point, the choice of an odd 'k' can help to avoid ________
- What are the consequences of ignoring multicollinearity in a Multiple Linear Regression model?
- Describe a scenario where you would use the F1-Score as the main performance metric, and explain why it would be suitable.