December 29, 2020
Following are the methods that can be used for applying logistic regression algorithm to multi class problems.
- One vs Rest approach: Here, if there are n classes then we create n duplicates of the original dataset. Each duplicate has two classes, one from original dataset and one created by clubbing rest of the classes together.
- One vs One approach: Here if there are n classes then create n(n-1)/2 number of datasets by splitting the original dataset. Each dataset contains two classes from the original dataset.
by : Monis Khan
Quick Summary:
Following are the methods that can be used for applying logistic regression algorithm to multi class problems. One vs Rest approach: Here, if there are n classes then we create n duplicates of the original dataset. Each duplicate has two classes, one from original dataset and one created by clubbing rest of the classes together. […]