Why is pca() faster than svd()?

조회 수: 2 (최근 30일)
Evan
Evan 2017년 5월 22일
답변: John D'Errico 2017년 5월 22일
The documentation for the pca() function says that 'svd' is the default algorithm:
"By default, pca centers the data and uses the singular value decomposition (SVD) algorithm."
If this is the case, why does svd(X) take much longer than pca(X)?

채택된 답변

John D'Errico
John D'Errico 2017년 5월 22일
Read the help for SVD, particularly the economy SVD.

추가 답변 (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