reiinakano / scikit-plot

An intuitive library to add plotting functionality to scikit-learn objects.
MIT License
2.43k stars 285 forks source link

Add a Silhouette coefficient plot for `clusterer` module #104

Open tirthajyoti opened 5 years ago

tirthajyoti commented 5 years ago

Hi,

It would be great to have a Silhouette coefficient plot method to add to the clusterer module. For many situations, it gives a better visual representation of the number of clusters.

Check my article on Medium on this.

Clustering metrics better than the elbow-method

reiinakano commented 5 years ago

This is in the metrics module :)

tirthajyoti commented 5 years ago

I did not mean the Silhouette analysis plot. I meant a plot where you don't need to know cluster labels. It plots the Silhouette coefficient to determine the optimal number of clusters when you don't know what that is. Much like the elbow plot.