/pyKMeans

Python implementation of K-Means clustering algorithm

Primary LanguagePython

K-Means

A minimal python implementation of k-means clustering algortihm.

KMeans Demo

It also includes a basic demo on two-dimensional data (borrowed from Andrew Ng's course).

Usage

Check out demo.py for simple usage.

Requirements

  • Numpy
  • Scipy
  • Matplotlib