how can i compute PCA for a huge data set?

조회 수: 2 (최근 30일)
Mohamed Moawed
Mohamed Moawed 2013년 6월 2일
hello Everybody, i have a huge data set (120 raw X 600000 columns) my Hardware is core i5, 2.5 GHz, 8 GB RAM, Win8 64 bit, MATLAB R2013a 64 bit. i read that i may get ~4TB memory if i use 64 bit operating system and 64 bit MATLAB version.
on my hardware i computed PCA (princomp) command and get the results, and i tried to recompute it again but i got (out of memory) error message.
could any one help me to know what is the problem? and i can't reduce the data set dimension also i heard about PCA by SVD that it can be used in the case of not square matrix. is that true?
thanks

채택된 답변

Shashank Prasanna
Shashank Prasanna 2013년 6월 3일
This is a limitation of you RAM (8 GB) and the amount of data you can hold on your workspace. Clear out your memory and try again by using the clear function. Or upgrade your RAM, this is not the limitation of pca which by default already uses SVD:
  댓글 수: 4
Mohamed Moawed
Mohamed Moawed 2013년 6월 4일
thanks for your reply. i want to ask is the input of the princomp is input matrix or covariance matrix? ans what about pca function is input matrix or covariance matrix?
Shashank Prasanna
Shashank Prasanna 2013년 6월 4일
I'll let the documentation answer that question:
Take a look at this as well:

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Dimensionality 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