silhouette_index

This code calculates the Silhouette cluster validity index . It can be used to determine the optimal number of clusters.

Ahora está siguiendo esta publicación

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.

Citar como

Ludmila Kuncheva (2026). silhouette_index (https://la.mathworks.com/matlabcentral/fileexchange/128654-silhouette_index), MATLAB Central File Exchange. Recuperado .

Etiquetas

Añadir etiquetas

Add the first tag.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.1.0

The revised code guards against all cluster labels being the same. It returns index value -1 in this case. It also eliminates the problem of 1-element clusters.

1.0.0