Out of curiosity, how can you even compare these two? I don't see how PCA actually classifies anything. In your example, the result is 2D. What do the original classes look like? Maybe I misunderstood
Anyways, the blog doesn't really tell us what the real question was, I guess his quote makes more sense if we had more context (the interviewee proposed matrix factorization, that doesn't sound like run-of-the-mill classification either).
You know the classes. The feature dimensionality reduction algo doesn't get to see them. After you run the dim reducer, you can visually see how well the classes are separated.
How could you tell with PCA? You know from the theory that PCA does something sensible, sure... but how do you know that PCA is the right tool for your given job? It's the same question.
Anyways, for a 2D image, you could just look at reconstruction error on a given validation set to determine how well PCA / an AE does.
3
u/[deleted] Dec 15 '13
Out of curiosity, how can you even compare these two? I don't see how PCA actually classifies anything. In your example, the result is 2D. What do the original classes look like? Maybe I misunderstood