K-means++ clustering for classification
Version 1.0.1 (505 KB) by
Claudio Fontana
K-means clustering algorithm implementation with k-means++ augmentation.
K-means++ augmentation improves both the speed and the accuracy of the k-means clustering algorithm.
The Matlab code of the algorithm is provided together with a simple elbow searching function to get the minimum of the objective function when the slope of the curve becomes less than 2%.
As a stopping criterion for the clustering algorithm, a threshold on the relative difference of the values of the objective function compared to the best found has been considered.
Cite As
Claudio Fontana (2025). K-means++ clustering for classification (https://in.mathworks.com/matlabcentral/fileexchange/112485-k-means-clustering-for-classification), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022a
Compatible with R2022a to R2022b
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
