How does Linear Discriminant Analysis differ from PCA?

Quick Overview

Asks how Linear Discriminant Analysis differs from principal component analysis as a dimensionality reduction method. Tests understanding of supervised versus unsupervised objectives, the Fisher criterion, limits on the number of components, and why high variance does not mean good class separation.

How does Linear Discriminant Analysis differ from PCA?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

How does Linear Discriminant Analysis differ from PCA? ```hint Labels and objectives Ask whether each method uses the class labels, and which quantity each one tries to make large. ``` ### What a Strong Answer Covers - Supervised versus unsupervised, and the quantity each method maximizes - The objective of each method and the eigenproblem it leads to - How many components each can return, and why - A case where the highest-variance direction does not separate the classes - The assumptions of LDA and how it fails when features outnumber samples ### Follow-up Questions - For a binary classification problem, how many LDA components do you get, and what is that direction? - When would you run PCA before LDA? - Why must LDA be fit inside each cross-validation fold?

Overview: Asks how Linear Discriminant Analysis differs from principal component analysis as a dimensionality reduction method. Tests understanding of supervised versus unsupervised objectives, the Fisher criterion, limits on the number of components, and why high variance does not mean good class separation.

General logo
General
Nov 24, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

How does Linear Discriminant Analysis differ from PCA?

What a Strong Answer Covers Guidance

  • Supervised versus unsupervised, and the quantity each method maximizes
  • The objective of each method and the eigenproblem it leads to
  • How many components each can return, and why
  • A case where the highest-variance direction does not separate the classes
  • The assumptions of LDA and how it fails when features outnumber samples

Follow-up Questions Guidance

  • For a binary classification problem, how many LDA components do you get, and what is that direction?
  • When would you run PCA before LDA?
  • Why must LDA be fit inside each cross-validation fold?