Borrar filtros
Borrar filtros

To remove NaN values and to calculate PCA of dataset

4 visualizaciones (últimos 30 días)
Khaing Zin Htwe
Khaing Zin Htwe el 9 de Mayo de 2016
Editada: per isakson el 10 de Mayo de 2016
Dear sir,
I have a data set of 141x3084 size that includes NaN values terribly. The overall aim is to reduce the dimensions of data set. But after normalize the data set, I can't calculate the score,latent,var. They all are zeros.Why,sir. After that, I calculate PCA without normalization , I get the NaN value as the result though. Seriously!!! How can I solve my problem,sir. It might be easy for you,sir. Thanks all.
  1 comentario
per isakson
per isakson el 10 de Mayo de 2016
Editada: per isakson el 10 de Mayo de 2016
By default, pca performs the action specified by the 'Rows','complete' name-value pair
argument. This option removes the observations with NaN values before calculation. Rows
of NaNs are reinserted into score and tsquared at the corresponding locations, namely
rows 56 to 59, 131, and 132.

Iniciar sesión para comentar.

Respuestas (0)

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