Skip to content
Kudos AI

Linear and Quadratic Discriminant Analysis

Model each class’s distribution and turn it around with Bayes’ theorem: one shared covariance gives a linear boundary, one covariance per class gives a quadratic one, and which of them wins is a question about sample size rather than about the truth.

IntermediateModule 225 min · 100 XP
Two Gaussian classes with opposite correlations, a pooled covariance drawn as the ellipse that fits neither, and the straight LDA boundary failing beside the curved QDA one - then the gap between them closing as the sample grows.

This is a premium lesson

Sign in and enrol to read the full lesson, run the code, take the quiz, and earn XP toward the path badge.