Categorical variables are a challenge for Machine Learning algorithms. Since most (if not all) of them accept only numerical values as inputs, we need to transform the categories into numbers to use them in the model.
By one-hot encoding them, we create a really sparse matrix and inflate the numb...