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.  


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

Instruction :

run the code "RUN_THIS_kmeans.m"

Download MATLAB code here :

No comments:

Post a Comment

When terminal is not starting in Ubuntu

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