フィルターのクリア

PCA dimension reduction problem

3 ビュー (過去 30 日間)
pavlos
pavlos 2016 年 1 月 23 日
回答済み: the cyclist 2016 年 1 月 23 日
Hello,
I have a matrix M 200x80000 and I want to transform it to 200xLower_Dimension.
Using the command [coeff,score,latent,tsquared,explained,mu] = pca(M);
The parameter "explained" returns 200 values (number of rows).
I need the reduction to be applied on columns.
The "princomp" returns out-of-memory error.
My system is 64-bit with 8 GB RAM.
Thank you.
Best,
Pavlos

回答 (1 件)

the cyclist
the cyclist 2016 年 1 月 23 日
So, are you saying that you have 200 observations of an 80,000-variable system? Because according to the syntax of pca, that is what you entered.
You can completely explain the variance of 200 observations using 200 variables. So, you only need 200 principal components. That is what MATLAB is reporting.
On the other hand, if you actually have 80,000 observations of a 200-variable system, then just transpose your matrix before entering into pca().

カテゴリ

Help Center および File ExchangeDimensionality Reduction and Feature Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by