Fisher's Linear Discriminant

medium
Unit 10 · Classification II0/2 to milestone

For two classes, Fisher's linear discriminant finds the direction w that best separates them: it maximises the distance between projected class means relative to the spread within each class.

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Fisher's Linear Discriminant · TechGradify