Python implementation of supervised PCA, supervised random projections, and their kernel counterparts.