Local definitions
General definitions
Turn off annoying warnings
Load necessary packages
Principal Component Analysis (PCA) definitions
Extract principal components
Convert data to n PCA coefficients
Plot principal components (2d and 3d)
Fisher linear discriminant
Determine Fisher discriminant line
Project data onto Fisher discriminant line
Visualize projections (both Fisher and first principal component)
Compute 1D pdfs
One-dimensional decision boundary between Gaussian pdfs
Error for a discriminant line over training set
Created by Mathematica (October 20, 2003)