Why is pca() faster than svd()?

4 Ansichten (letzte 30 Tage)
Evan
Evan am 22 Mai 2017
Beantwortet: John D'Errico am 22 Mai 2017
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)?

Akzeptierte Antwort

John D'Errico
John D'Errico am 22 Mai 2017
Read the help for SVD, particularly the economy SVD.

Weitere Antworten (0)

Kategorien

Mehr zu Dimensionality Reduction and Feature Extraction finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by