how to reduce the dimension of a feature space?
Afficher commentaires plus anciens
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 !!!!
Réponses (1)
David Sanchez
le 5 Juin 2013
you may use reshape.
help reshape
1 commentaire
sorena mirzaie
le 5 Juin 2013
Modifié(e) : Walter Roberson
le 5 Juin 2013
Catégories
En savoir plus sur Dimensionality Reduction and Feature Extraction dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!