Machine Learning

Linear Models III - Multiclass Classification & Softmax Regression

12:14

Plays from YouTube. Watch on YouTube

How does a machine learn to recognize more than two classes?

Meet Multiclass Classification & Softmax Regression: the next step in understanding linear models.

We start with one-hot encoding and learn how a model computes a score for every class. Then we use softmax to turn those scores into probabilities.

From there, we explore cross-entropy loss, gradient descent, numerical stability, and how to evaluate classifiers using confusion matrices, precision, recall, and ROC curves.

Finally, we tackle one of the biggest limitations of linear models: why can't a straight line solve XOR? And how can feature transformations make seemingly impossible problems solvable?

The big idea: A linear model can learn complex decision boundaries when we give it the right representation.

Machine learning explained visually, one concept at a time.