Why is pca() faster than svd()?

2 visualizaciones (últimos 30 días)
Evan
Evan el 22 de Mayo de 2017
Respondida: John D'Errico el 22 de Mayo de 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)?

Respuesta aceptada

John D'Errico
John D'Errico el 22 de Mayo de 2017
Read the help for SVD, particularly the economy SVD.

Más respuestas (0)

Categorías

Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by