PCA & dimensionality reduction

Step 18 of 21 in Machine Learning · Build · Medium

Project data onto the directions of greatest variance (top singular vectors). Use it to visualize, denoise and speed up models.

Build it

  1. PCA on digits

    PCA from SVD on MNIST; plot 2D projection coloured by digit and explained variance curve.

    Done when: Matches sklearn PCA; you choose components for 95% variance.

Resources

Earn this star

On the map, you log what you built. Finish the step and its star lights.

Open this step on the map