Monday, October 20, 2014

[K-means Algorithm] Matlab example code p.424


Description :

This code demonstrates basic K-means Algorithm. 

First, initial code book is defined in the beginning of the code. 
Random data will be generated around this initial code book.
Finally, k-means algorithm will divides and classify through the iteration.

This example file consists of three m files as below.  


kmeans.m
RUN_THIS_kmeans.m
disteusq.m

The k-means algorithm will classify the scattered points with color. 




Instruction :

run the code "RUN_THIS_kmeans.m"

Download MATLAB code here :


https://drive.google.com/file/d/0B78FUAKU68mXUmhlbHd4TW55eTg/view?usp=sharing


No comments:

Post a Comment

When terminal is not starting in Ubuntu

Untitled Document.md When terminal in Ubuntu is not starting gnome-termial crashes with python 3.6 update. Go to /usr/bin/gnome-termi...