Is there a way to plot original set of data onto biplot?

5 visualizaciones (últimos 30 días)
Michelle
Michelle el 7 de Ag. de 2014
Comentada: dpb el 11 de Ag. de 2014
I want to plot all of my original data as a scatter plot onto the biplot created by PCA.

Respuesta aceptada

Peter Perkins
Peter Perkins el 11 de Ag. de 2014
Michelle, the whole point of PCA is to create a new coordinate system. Plotting the original data in that coordinate system doesn't make sense. If you've done PCA, you must have the scores for your original data -- the scores are the original data transformed into the new coordinate system. Use BIPLOT to plot those - there's an optional parameter to do that.
Hope this helps.
  2 comentarios
dpb
dpb el 11 de Ag. de 2014
...the whole point of PCA is to create a new coordinate system. ...
Good point, Peter... :)

Iniciar sesión para comentar.

Más respuestas (1)

dpb
dpb el 7 de Ag. de 2014
Editada: dpb el 8 de Ag. de 2014
biplot(...
hold on
scatter(gca,x,y);
should get you started.
  2 comentarios
dpb
dpb el 11 de Ag. de 2014
Other than Peter's obvious, of course... :)

Iniciar sesión para comentar.

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