K-means++ clustering for classification

K-means clustering algorithm implementation with k-means++ augmentation.

You are now following this Submission

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 (2026). K-means++ clustering for classification (https://www.mathworks.com/matlabcentral/fileexchange/112485-k-means-clustering-for-classification), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with R2022a to R2022b

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

Minor changes set the array data type for centroids.

1.0.0