AI engineering glossary · Classical ML algorithms

What is maximum margin classifier?

Maximum margin classifier: A linear classifier that picks, among all lines or planes that separate two classes perfectly, the one farthest from the nearest training points on both sides. A wide gap tends to generalise better. It only works when the classes can be separated exactly.

Level: intermediateTopic: Classical ML algorithms

Maximum margin classifier: an example

Among many lines splitting red and blue dots, choose the one leaving a 3-unit-wide empty corridor.

Related terms

More Classical ML algorithms terms

Where you learn it

Maximum margin classifier is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.