Exercises for Chapter 5

Topics

PCA

  • Implement a version of PCA, then compare it to scikit-learn

  • Dig back through WTB data prep and make an exercise out of the crime data PCA

LDA

  • Repeat exercise from part 1 with LDA

Kernel PCA

  • Create a moon-shaped dataset

  • Try PCA/LDA on it: how does it perform?

  • Use kernel PCA and compare results