I have matrix 414588x47236 want to make PCA dimension reduction on it
is there any idea to make so my computer is not crashing and minimze operation time?

3 件のコメント

Matt J
Matt J 2021 年 12 月 4 日
Is the matrix being stored as a tall array?
Mike Croucher
Mike Croucher 2021 年 12 月 4 日
What kind of matrix is it? Is it sparse or dense? Double precision? Single precision?
Is the matrix stored in a file? .mat or .csv or something else?
Have you managed to load it into MATLAB at all? What are the specifications of the machine you are using?
Ahmed raafat
Ahmed raafat 2021 年 12 月 5 日
it is sparse matrix , uploaded into matlab from mat file
when I try to use pca command it send error that can't deal with sparse

サインインしてコメントする。

 採用された回答

Matt J
Matt J 2021 年 12 月 5 日

1 投票

You could do,
[U,S]=svds(A,k);
A_reduced=U*S;

2 件のコメント

Ahmed raafat
Ahmed raafat 2021 年 12 月 6 日
and for PCA , what command?
Matt J
Matt J 2021 年 12 月 6 日
A_reduced is the result of the PCA.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Dimensionality Reduction and Feature Extraction についてさらに検索

製品

リリース

R2021b

質問済み:

2021 年 12 月 4 日

コメント済み:

2021 年 12 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by