Efficient K-Means Clustering using JIT

Version 1.0.0.0 (2.02 KB) by Yi Cao
A simple but fast tool for K-means clustering
14.1K Downloads
Updated Wed, 16 Apr 2008 08:16:42 +0000

View License

This is a tool for K-means clustering. After trying several different ways to program, I got the conclusion that using simple loops to perform distance calculation and comparison is most efficient and accurate because of the JIT acceleration in MATLAB.

The code is very simple and well documented, hence is suitable for beginners to learn k-means clustering algorithm.

Numerical comparisons show that this tool could be several times faster than kmeans in Statistics Toolbox.

Cite As

Yi Cao (2024). Efficient K-Means Clustering using JIT (https://www.mathworks.com/matlabcentral/fileexchange/19344-efficient-k-means-clustering-using-jit), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers
Acknowledgements

Inspired: Patch color selector

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

correct bugs in examples