No knee to be found when k=2 for metric='silhouette'

6 views
Skip to first unread message

Zhihao Zheng

unread,
Oct 2, 2021, 3:35:25 PM10/2/21
to Yellowbrick
I noticed that for KElbowVisualizer(model, k=(2,12), metric='silhouette'), detecting knee and/or elbow will always fail when the largest silhouette score is at k=2, as k=1 is naturally not valid for silhouette calculation and the silhouette score curve will just directly fall, and there's no knee and elbow to be found. Yet the data do have an optimal number of clusters value, which is k=2. 
Reply all
Reply to author
Forward
0 new messages