Effacer les filtres
Effacer les filtres

Big Data math operations

1 vue (au cours des 30 derniers jours)
Ahmed raafat
Ahmed raafat le 4 Déc 2021
Commenté : Matt J le 6 Déc 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 commentaires
Mike Croucher
Mike Croucher le 4 Déc 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 le 5 Déc 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

Connectez-vous pour commenter.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by