blob: 023848540958e0de7603edd9cbf9002b17fb1ed1 (
plain)
1
2
3
4
5
6
7
8
|
KMeans Classifier Implementation
Example:
# generate test data with 1000 rows clustered around 3 points
./gen-data.rb 1000 3 > example.dat
# classify data, plot results as png
./km-test kmeans example.dat example.png
|