Big Data math operations

1 Ansicht (letzte 30 Tage)
Ahmed raafat
Ahmed raafat am 4 Dez. 2021
Kommentiert: Matt J am 6 Dez. 2021
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 Kommentare
Mike Croucher
Mike Croucher am 4 Dez. 2021
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 am 5 Dez. 2021
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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Matt J
Matt J am 5 Dez. 2021
You could do,
[U,S]=svds(A,k);
A_reduced=U*S;
  2 Kommentare
Ahmed raafat
Ahmed raafat am 6 Dez. 2021
and for PCA , what command?
Matt J
Matt J am 6 Dez. 2021
A_reduced is the result of the PCA.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by