Statistics, Data Science, Analytics, Business Intelligence, Machine Learning.
predictor with k possible values, traditional dummy encoding will drop one as a reference level and then create k-1 indicator columns. With regularization, you should create k indicator columns. The intercept is not penalized. Because the dropped level gets absorbed into the intercept, the