/clustering_tutorial

A Tutorial of KMeans(++), GMM and Spectral Clustering

Primary LanguageJupyter Notebook

Clustering

Notebook of KMeans(++), Gaussian Mixture and Spectral Clustering, with clean implementation.

I hope they could be helpful for you to study the ideas of the 3 clustering algorithms. Any suggestion, email me: jekyll4168_at_icloud_dot_com .

  1. Intuition with scikit-learn
  2. KMeans and KMeans++
  3. Gaussian Mixture
  4. Spectral Clustering

Note

I didn't refactor the functions in these notebooks into OOP style. So if you want a clean class implementation, you can find in my contributions to MLAlgorithms.

Dependency

Python 3 with numpy, matplotlib and sklearn.

Though I didn't test carefully, it should run well with Python 2 too.

LICENSE

MIT