Big Data math operations

2 次查看(过去 30 天)
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 个评论
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by