How can a silhouette analysis plot help you identify that an incorrect k was selected?

Last updated 11 November 2026

  • A silhouette plot shows each point's silhouette value (how much closer it is to its own cluster than the nearest other), sorted by cluster, against a line for the overall mean.

  • A wrong k shows up as whole clusters below the mean line, many negative values (likely misassigned points), or very uneven cluster thickness.

  • One thick cluster with a long low tail suggests k is too small (groups merged). Several thin, low-scoring clusters suggest k is too large (a group split).

  • https://scikit-learn.org/stable/auto_examples/cluster/plot_kmeans_silhouette_analysis.html
  • https://machinelearningmastery.com/k-means-cluster-evaluation-with-silhouette-analysis/
  • https://www.geeksforgeeks.org/machine-learning/silhouette-algorithm-to-determine-the-optimal-value-of-k/
All Clustering interview questions