K-Means-Clustering

k means is an algorithm used to cluster data into k clusters.

Develop tools and techniques

  • Python
  • Pycharm

Step

  1. Initial k clusters
  2. Compute their mean (centroid)
  3. Assign each sample to the its closest cluster center
  4. Repeat 2-3 until several iterations

Example

image image image image