TY - JOUR
T1 - On Clustering Categories of Categorical Predictors in Generalized Linear Models
AU - Carrizosa, Emilio
AU - Restrepo, Marcela Galvis
AU - Romero Morales, Dolores
N1 - Published online: 24 May 2021
PY - 2021/11
Y1 - 2021/11
N2 - We propose a method to reduce the complexity of Generalized Linear Models in the presence of categorical predictors. The traditional one-hot encoding, where each category is represented by a dummy variable, can be wasteful, difficult to interpret, and prone to overfitting, especially when dealing with high-cardinality categorical predictors. This paper addresses these challenges by finding a reduced representation of the categorical predictors by clustering their categories. This is done through a numerical method which aims to preserve (or even, improve) accuracy, while reducing the number of coefficients to be estimated for the categorical predictors. Thanks to its design, we are able to derive a proximity measure between categories of a categorical predictor that can be easily visualized. We illustrate the performance of our approach in real-world classification and count-data datasets where we see that clustering the categorical predictors reduces complexity substantially without harming accuracy.
AB - We propose a method to reduce the complexity of Generalized Linear Models in the presence of categorical predictors. The traditional one-hot encoding, where each category is represented by a dummy variable, can be wasteful, difficult to interpret, and prone to overfitting, especially when dealing with high-cardinality categorical predictors. This paper addresses these challenges by finding a reduced representation of the categorical predictors by clustering their categories. This is done through a numerical method which aims to preserve (or even, improve) accuracy, while reducing the number of coefficients to be estimated for the categorical predictors. Thanks to its design, we are able to derive a proximity measure between categories of a categorical predictor that can be easily visualized. We illustrate the performance of our approach in real-world classification and count-data datasets where we see that clustering the categorical predictors reduces complexity substantially without harming accuracy.
KW - Statistical Learning
KW - Interpretability
KW - Greedy Randomized Adaptive Search Procedure
KW - Proximity between categories
KW - Statistical Learning
KW - Interpretability
KW - Greedy Randomized Adaptive Search Procedure
KW - Proximity between categories
U2 - 10.1016/j.eswa.2021.115245
DO - 10.1016/j.eswa.2021.115245
M3 - Journal article
SN - 0957-4174
VL - 182
JO - Expert Systems with Applications
JF - Expert Systems with Applications
M1 - 115245
ER -