Closed kavir1698 closed 5 years ago
There are two components, each of which has 5 features. Isn't that what you see?
I think you're thinking about the transformed output. IIRC you can do transform(pca, X)
after fitting to get those.
Thanks for your reply. True, my mistake. I close the issue now.
In the following example, there are 10 samples and 5 features. The output should have 10 samples and 2 features, but it has 5 samples: