This is a totally different method of supervised learning. Its not some addon to logistic regression.

It is mainly formulated for Binary Classification

Given training data

where

We are trying to solve the following optimization problem

To work with multiple classes, do a one vs rest approach

machineLearning