Eigendecomposition of a Covariance Matrix with NumPy

Image by G Lopez from Pixabay

This article is for those who want to learn how Principal Component Analysis (PCA) works behind the scenes.

First, we manually apply PCA to a real-world dataset by decomposing the covariance matrix. Finally, the results of the manual implementation of PCA will be compared with the…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store