kmeans_opt
k-means is a decent clustering algorithm, however it requires the specification of the number of clusters, and is stochastic.
This function takes a matrix as input, as well as the maximum number of clusters, the cutoff to determine the best model (the fraction of variance explained), and makes sure the results are stable by repeating a number of times specified by the user.
The above method is called the Elbow method.
Citation pour cette source
Sebastien De Landtsheer (2026). kmeans_opt (https://fr.mathworks.com/matlabcentral/fileexchange/65823-kmeans_opt), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.1 | New version as of 4th April 2019: unit-normalizes the variables, so the algo works even if the variables are on completely different styles. |
||
| 1.0.0.0 |
