How to plot silhouette with Sørensen–Dice coefficient
Show older comments
Hi, how to plot silhouette with Sørensen–Dice similarity coefficient? I already have the cluster result and distance value.
clust:
1
1
2
2
2
metric:
0.25733 0.002573 0.003551 0.000677 0.002871 0.005561 0.004473 0.115495 0.232204 0.198639
I tried to plot it with:
silhouette([],clust,metric)
Result:

Silhouette value:
-0.9912
-0.9833
-0.9843
-0.9710
-0.9880
The distance value is treated as dissimilarity value. How to set matlab to use it as similarity value? It should be:
0.9912
0.9833
0.9843
0.9710
0.9880
Thanks.
Answers (0)
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!