Skip to main content
2 of 4
added 390 characters in body

How to plot High Dimensional supervised K-means on a 2D plot chart

I'm Having a ML problem where my data set contains 60 features labelled into 3 groups (0, 1, -1).

I want to use K-means on that data and plot it on a 2D plot to see how close data with label x to data with label y

I was thinking about using PCA and transform the data from 60D to 2D, but It only retain 60% of the variance!

  • Is this a good approach for the problem?
  • If so, does 60% suffice?
  • Are there any other/better approach for this?

EDIT:

Plotting is not the main issue. The transformation from 60D to 2D (for an easy visialization) is whats difficult.

Also, all of this is being made to know how much samples with label 1 differs from label 0 and label -1 and vice versa (based on those original 60 features).

If there's a different method, that is not visualizing the "answer", I'll also be happy to hear about it!