pca function automatically mean-centers

조회 수: 5 (최근 30일)
Mari
Mari 2014년 7월 3일
답변: Shashank Prasanna 2014년 7월 3일
Hi
It looks as if the pca function automatically mean-centers the data. Is this the case and if so how can I override this? I want to center my data using the median or group means.
Thanks Marì

답변 (1개)

Shashank Prasanna
Shashank Prasanna 2014년 7월 3일
You are right, by default PCA centers the data. You can however ask PCA not to do that:
Set the name value pair, 'Centered' to false.

카테고리

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