In a K-means clustering algorithm, if you have 5 clusters and 100 data points, how many centroids will be initialized?

Practice Questions

1 question
Q1
In a K-means clustering algorithm, if you have 5 clusters and 100 data points, how many centroids will be initialized?
  1. 5
  2. 100
  3. 50
  4. 10

Questions & Step-by-step Solutions

1 item
Q
Q: In a K-means clustering algorithm, if you have 5 clusters and 100 data points, how many centroids will be initialized?
Solution: In K-means clustering, the number of centroids initialized is equal to the number of clusters. Therefore, if there are 5 clusters, 5 centroids will be initialized.
Steps: 5

Related Questions