Linear Regression with Categorical Variables
This post explores linear regression with one-hot encoding. For those datasets with many categorical variables and where the categorical variables in turn have many unique levels, the number of features can quickly escalate. In these cases, label/ordinal encoding or some other alternative should be explored.