PCA: reduced-dimensionality classification, example #2
Generate data from two Gaussian classes
Definition of Gaussians
Number of points in each class
Generate data
Visualize data
Principal Component Analysis
Visualize PCA projection
One-dimensional PCA-based classification
Project data onto first PC
Compute corresponding 1d Gaussian pdfs
Display resulting pdfs
Error over training data
Compare to 2d classificationGaussian
Compute Gaussian pdfs
Classification of input space
Created by Mathematica (October 20, 2003)