how to reduce the dimension of a feature space?
Ältere Kommentare anzeigen
I have 260 sample,each sample has 320 feature (x is a matrix with 260 rows & 320 column).in order to improve my classification,i need to reduce these 320 column(i mean number of features).but i dont know how to do. when i use for example:
[pc,score,latent,tsquare] = princomp(X);
red_dim = score(:,1:50);
how to reconstruct the matrix with fewer column?
when i use :
residuals = pcares(X,ndim)
the dimension of residuals is the same of x !!!!
Antworten (1)
David Sanchez
am 5 Jun. 2013
you may use reshape.
help reshape
1 Kommentar
sorena mirzaie
am 5 Jun. 2013
Bearbeitet: Walter Roberson
am 5 Jun. 2013
Kategorien
Mehr zu Dimensionality Reduction and Feature Extraction finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!