Bayesian Supervised Dimensionality Reduction