aranganath/Adversarial

Exploring k-means class-wise

Closed this issue · 1 comments

We need to find out what the k-means cluster is for each class.

So this is what needs to be done:

  1. Apply the k-means clustering algorithm to each class instead of the entire dataset. This means:

-We need the clusters for each class with their own batch size. So we would need to iterate through each class (0-9), cluster them (You may vary the k value for each cluster and see how it looks.).
-Plot those images and see what these cluster looks like.
-We want to do the same thing for their labels.

We will discuss more as we explore this above.

Uploaded the code for the above comments. The code is in: k-medians-on-each-class-with-tsne.ipynb.