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 .
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.
Python 3 with numpy, matplotlib and sklearn.
Though I didn't test carefully, it should run well with Python 2 too.
MIT