Learn Before
Concept

OLS fitting cannot be used for classification

Different methods are required for fitting a model for classification. Two reasons:

  1. If there are >2 classifications, simply assigning dummy numerical variables and making a prediction based on the nearest classifier would imply an ordering to the classifications; that is to say that classification 4 and 3 are more similar than 4 and 1.
  2. Even using a binary classification, 1 or 0, an OLS model can produce an output outside of the range [0, 1], which is difficult to interpret and again implies an ordering to the classifications

0

6

Updated 2020-02-18

Tags

Data Science