kmeans_silhouette

Finds the optimal number of clusters (k) for a given dataset using the Silhuette method.
151 téléchargements
Mise à jour 20 fév. 2021

Afficher la licence

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)

Citation pour cette source

Katarina Vuckovic (2026). kmeans_silhouette (https://fr.mathworks.com/matlabcentral/fileexchange/87654-kmeans_silhouette), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2020b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0