Linear and Quadratic Discriminant Analysis › Disadvantages

Michael BrenndoerferOctober 27, 20262 min read
Machine Learning from ScratchAll chapters
Part 7 of 15Supervised Learning Beyond Linear Models
Chapter 55Linear and Quadratic Discriminant Analysis › Disadvantages
Reading section 3 of 10 · Disadvantages · 2 minSection 3 of 10 · 2 min

Section 3 of 10 · 2 min read

Linear and Quadratic Discriminant Analysis › DisadvantagesSection view · Sections in this chapter3 / 10 ↓
Reading tools Definitions, links & notes

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Notes & comments

Skew, heavy tails, or multiple modes within a class can make a Gaussian density a poor approximation and can harm probability calibration or classification. LDA and QDA do not adapt their density family to represent arbitrary class shapes. A misspecified density can still give the correct hard-label boundary, so a failure of Gaussianity is a reason to examine held-out performance rather than proof that every prediction is wrong. These methods remain useful when their assumptions are plausible or as baselines for comparison.

Covariance estimation is a major difficulty when the feature dimension is large relative to the available observations per class. In high-dimensional settings, dd can rival the number of observations per class. A centered class sample has rank at most Nk−1N_k-1. For Nk>1N_k>1, its empirical covariance is singular when Nk≤dN_k\le d; with only one observation, the unbiased covariance is undefined. The ordinary unregularized QDA density formula is then undefined because the covariance inverse does not exist. Even when Nk>dN_k > d, dependent features or estimation noise can leave the covariance singular or poorly conditioned. LDA pools within-class scatter across classes, but its pooled covariance can have rank no greater than N−KN - K and is subject to the same rank and conditioning checks.

For two classes, a nondegenerate LDA boundary is one hyperplane regardless of sample size. It cannot represent a bounded winning region surrounded by the other class or a winning region split across two separated tails. In the multiclass case, each pairwise tie equation is linear and each class winning region is an intersection of half-spaces. QDA can represent additional geometries, but it estimates K d(d+1)2K\,\frac{d(d+1)}{2} covariance parameters rather than LDA's d(d+1)2\frac{d(d+1)}{2}. Estimating these separate matrices can add uncertainty in small samples; both methods remain sensitive to outliers, and there is no universal ordering of their fitted errors.

Unregularized LDA and QDA are equivariant under invertible affine transformations when their means and covariances are transformed consistently and calculations are exact. This algebraic property does not require the observed data to be exactly Gaussian. Feature standardization can improve numerical conditioning when units differ substantially, but it does not remove collinearity or guarantee an accurate covariance estimate. Regularization toward a fixed identity target can also change the rule under rescaling, so preprocessing and shrinkage must be considered together.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy