Skip to main content

Module lda

Expand description

Linear discriminant analysis.

See the book entry Linear discriminant analysis.

Structs§

Lda
Fisher’s linear discriminant analysis: a supervised projection that maximises the ratio of between-class to within-class scatter, so classes are pulled apart while each is kept compact. At most classes - 1 discriminant directions exist. The same model doubles as a classifier (nearest class mean in the projected space, adjusted by log-priors), which is the Gaussian classifier with a shared covariance.