TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Member-only story

Singular Value Decomposition vs Eigendecomposition for Dimensionality Reduction

8 min readMar 20, 2023

--

Image by Viktor Peschel from Pixabay

Singular value decomposition (SVD) and eigendecomposition (ED) are both matrix factorization methods that come from linear algebra.

In the field of machine learning (ML), both can be used as data reduction methods (i.e. for dimensionality reduction).

Previously, we’ve discussed eigendecomposition in detail. Today, we’ll give more emphasis on discussing SVD.

Principal component analysis (PCA) can be performed using both methods. PCA is the most popular linear dimensionality reduction technique in ML. SVD is considered as the underlying mathematics behind PCA. The popular ML library, Scikit-learn also uses SVD within its PCA()function to perform PCA. Therefore, SVD is more popular than eigendecomposition in dimensionality reduction.

NumPy provides high-level and easy-to-use functions to perform SVD and eigendecomposition.

Topics included:
----------------

01. What is singular value decomposition?
02. SVD equation and its terms
03. Singular value decomposition in NumPy - svd() function
04. What is eigendecomposition?
05. Eigendecomposition equation and its terms
06. Eigendecomposition in…

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Rukshan Pramoditha
Rukshan Pramoditha

Written by Rukshan Pramoditha

3,000,000+ Views | BSc in Stats (University of Colombo, Sri Lanka) | Top 50 Data Science, AI/ML Technical Writer on Medium

Responses (1)