Classification Through Regression

Learn how to use softmax to model classification using any regression model.

Multi-classification

We’ve already seen multiclass modeling using softmax. It should be noticed, however, that the model is still a regression model whether we use softmax or not. This is because it makes the predictions in the form of real numbers (probability distribution in the case of softmax). The prediction of the class label is one step ahead. We typically use thresholding on the output of the model for predicting the class label. Before this final thresholding, it’s always regression. The figure below illustrates this fact.

Get hands-on with 1400+ tech skills courses.