File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
- # clustering algorithm implementaion and visualization from scratch with python
1
+ # Clustering algorithm implementaion and visualization from scratch with python
2
+
3
+ Three popular clustering algorithms (for d >= 2 dimensions, k >= 2 clusters):
2
4
(1) k-means
3
5
(2) EM-GMM (Gaussian mixture model - expectation maximization)
4
6
(3) mean-shift
5
7
8
+ Python implementations:
9
+ KMeans.py: k-means
10
+ GaussianMM.py: EM-GMM (Gaussian mixture model - expectation maximization)
11
+ GaussianMM_Ver0.py: another version for EM-GMM (Gaussian mixture model - expectation maximization)
12
+ MeanShift.py: mean-shift
13
+ MeanShift_Ver0.py: another version for mean-shift
6
14
15
+ Test on 2D datasets for visualization, compared with sklearn implementation:
16
+ (1) blobs pattern
17
+ (2) sticks pattern
18
+ (3) moon and stars pattern
You can’t perform that action at this time.
0 commit comments