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 Center および File ExchangeDimensionality 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