Updated 16 Jul 2012
My implementation of K means algorithm is customized for different need. Initial cluster centroid can be selected in various of ways. Those are:
• Randomly initialized cluster centroid as one of the data row.
• Select first 3 data row was the three cluster center.
• Provide the cluster centroid as a parameter, it is specially helpful when you want to perform the cluster with the same initial data centers so that we don’t have to worry about K means naming different to the same cluster in different run.
Nirmal (2023). Customized K-Means (https://www.mathworks.com/matlabcentral/fileexchange/37494-customized-k-means), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
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.