kmeans_silhouette

Finds the optimal number of clusters (k) for a given dataset using the Silhuette method.
149 download
Aggiornato 20 feb 2021

Visualizza la licenza

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)

Cita come

Katarina Vuckovic (2025). kmeans_silhouette (https://www.mathworks.com/matlabcentral/fileexchange/87654-kmeans_silhouette), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2020b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0