Multiclass Logistic Regression

Logistic Regression is a classification algorithm used for binary outcomes. However, when there are more than two classes (multiclass classification), standard logistic regression must be extended. There are two main approaches to handle this:

1. One-vs-Rest (OvR) Method

In One-vs-Rest (also known as One-vs-All), we break the multiclass problem into multiple binary classification problems.

Example:

If we have classes A, B, and C:

Pros:

Cons:


2. Polynomial Logistic Regression