Models the probability of class membership directly using a logistic function. It's a discriminative classifier.
Linear (straight line/plane)
None about feature distributions. Assumes linear relationship between features and log-odds.
Models the distribution of features for each class, then uses Bayes' theorem. It's a generative classifier.
Linear (straight line/plane)
Features are normally distributed. All classes share the same covariance matrix.
Like LDA but allows each class to have its own covariance matrix. Also a generative classifier.
Quadratic (curved)
Features are normally distributed. Each class has its own covariance matrix.
| Feature | Logistic Regression | LDA | QDA |
|---|---|---|---|
| Type | Discriminative | Generative | Generative |
| Boundary | Linear | Linear | Quadratic |
| Covariance | N/A | Shared across classes | Different per class |
| Parameters | Fewest | Moderate | Most |
| Best when... | No clear distribution or large n | Gaussian data, equal variance | Gaussian data, different variance |
| Small sample? | Good | Better | Risky |