silhouette_index
Versione 1.1.0 (1,68 KB) da
Ludmila Kuncheva
This code calculates the Silhouette cluster validity index . It can be used to determine the optimal number of clusters.
The Silhouette index is an internal cluster validity index, which measures the quality of a partition. [Reference: P. J. Rousseeuw (1987). "Silhouettes: A Graphical Aid to the Interpretation and Validation of Cluster Analysis". Computational and Applied Mathematics. 20: 53–65. doi:10.1016/0377-0427(87)90125-7].
The Silhouette index varies between -1 and 1. Higher values signify a better partition.
Cita come
Ludmila Kuncheva (2024). silhouette_index (https://www.mathworks.com/matlabcentral/fileexchange/128654-silhouette_index), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2023a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.