2013-03-07-k-means
Table of Contents
1 Implement k-means Clustering
- Very small data set
- Select starting centroids
- Find new centroids
- Stop after centroid moves less than
err
2 Code
code/k_means.py
zip
combine lists by alternating members
zip([1,2,3], ['one', 'two', 'three']) [(1, 'one'), (2, 'two'), (3, 'three')]