kmeans_opt
Versione 1.0.0.1 (1,86 KB) da
Sebastien De Landtsheer
tries k-means over different number of clusters
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.
Cita come
Sebastien De Landtsheer (2026). kmeans_opt (https://it.mathworks.com/matlabcentral/fileexchange/65823-kmeans_opt), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2017a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Statistics and Machine Learning Toolbox in Help Center e MATLAB Answers
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
