silhouette_index

版本 1.1.0 (1.7 KB) 作者: Ludmila Kuncheva
This code calculates the Silhouette cluster validity index . It can be used to determine the optimal number of clusters.
60.0 次下载
更新时间 2024/3/15

查看许可证

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.

引用格式

Ludmila Kuncheva (2024). silhouette_index (https://www.mathworks.com/matlabcentral/fileexchange/128654-silhouette_index), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2023a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
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