Borrar filtros
Borrar filtros

Dimensional reduction by PCA

5 visualizaciones (últimos 30 días)
Berbia
Berbia el 29 de En. de 2013
Respondida: Nikos Mp el 15 de Sept. de 2017
I have an vector x whose dimension has to be reduced to 5 x 50 by PCA.
[5,500]=size(x);
while giving the no_dimns=50 I faced a problem
Warning: Target dimensionality reduced to 5.
Is it possible to reduce the dimension of matrix from 5 x 500 to 5 x 50??

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 29 de En. de 2013
I think that the code expects you provide x' or x transpose where the rows are 500 and columns are 5
  8 comentarios
Shashank Prasanna
Shashank Prasanna el 1 de Feb. de 2013
It appears the file in your link doesn't reconstruct but just gives you the reduced scores, which means you can do:
[pc,score,latent,tsquare] = princomp(X);
red_dim = score(:,1:50);
PCARES actually reconstructs the scores back to the original basis.
Berbia
Berbia el 1 de Feb. de 2013
I thank you for your prompt response.

Iniciar sesión para comentar.

Más respuestas (1)

Nikos Mp
Nikos Mp el 15 de Sept. de 2017
2 questions: 1.So we take the scores or the reconstructed data? 2.P.Component = feature ? So we choose the best PComponents?

Categorías

Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by