kmeans_silhouette

版本 1.0.0 (1.2 KB) 作者: Katarina Vuckovic
Finds the optimal number of clusters (k) for a given dataset using the Silhuette method.
144.0 次下载
更新时间 2021/2/20

查看许可证

The function takes in a dataset in the format of [Nx2] where each data-point is represented as [xi,yi] and the maximum number of clusters to consider (kmax). The function then uses kmeans and Silhouette coefficients to determine the optimal number of clusters. The function outputs S-score for each k and the optimal k.

Refer to the following link for details about the Silhouette clustering algorithm:
https://en.wikipedia.org/wiki/Silhouette_(clustering)

引用格式

Katarina Vuckovic (2024). kmeans_silhouette (https://www.mathworks.com/matlabcentral/fileexchange/87654-kmeans_silhouette), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0