StatsPlots.jl
StatsPlots.jl copied to clipboard
Any interest in silhouette plots?
I was motivated recently to make silhouette plots to look at the quality of a clustering with no known ground truth. If there is interest I can create a PR for it.
using Clustering,Plots,Distances,RecipesBase
X = hcat([rand(5,1) .+ 0.15*randn(5, 200) for _=1:3]...)
D = pairwise(Euclidean(),X,dims=2)
R = kmeans(D, 3; maxiter=200, display=:iter)
silhouetteplot(R,X,D)
Yes, this would fit great here