on-internet
← Community

PCA dimension reducion for classification

Stack Overflow ·

I am using principal component analysis on the features extracted from different layers of CNN. I have downloaded the toolbox of dimension reduction from here. I have a total of 11,232 training images and feature for each image is 6,532. So the feature matrix is like that 11232x6532. If I want top 90% features I can easily do that and training accuracy using SVM of reduced data is 81.73% which is fair. However, when I try the testing data which have 2408 images and features of each image is 6,532. So the feature matrix for testing data is 2408x6532. In that case, the output for top 90% feature

Comments

Sign in or sign up to comment and upvote.

No comments yet.