?
Categories
Account

Which of the following is NOT a step in the K-means clustering algorithm?

  • 📥 Instant PDF Download
  • ♾ Lifetime Access
  • 🛡 Secure & Original Content

What’s inside this PDF?

Question: Which of the following is NOT a step in the K-means clustering algorithm?

Options:

  1. Assigning data points to the nearest centroid
  2. Updating the centroid positions
  3. Calculating the silhouette score
  4. Choosing the initial centroids

Correct Answer: Calculating the silhouette score

Solution:

Calculating the silhouette score is not a step in the K-means algorithm; it is an evaluation metric used after clustering.

Which of the following is NOT a step in the K-means clustering algorithm?

Practice Questions

Q1
Which of the following is NOT a step in the K-means clustering algorithm?
  1. Assigning data points to the nearest centroid
  2. Updating the centroid positions
  3. Calculating the silhouette score
  4. Choosing the initial centroids

Questions & Step-by-Step Solutions

Which of the following is NOT a step in the K-means clustering algorithm?
Correct Answer: Calculating the silhouette score
  • Step 1: Understand what K-means clustering is. It is a method used to group similar data points together into clusters.
  • Step 2: Identify the number of clusters (K) you want to create.
  • Step 3: Randomly select K initial centroids (the center points of the clusters).
  • Step 4: Assign each data point to the nearest centroid to form clusters.
  • Step 5: Recalculate the centroids by finding the average of all data points in each cluster.
  • Step 6: Repeat Steps 4 and 5 until the centroids no longer change significantly or a set number of iterations is reached.
  • Step 7: Understand that calculating the silhouette score is NOT part of the K-means algorithm; it is used later to evaluate how well the clustering has performed.
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely
Home Practice Performance eBooks