On Clustering Categories of Categorical Predictors in Generalized Linear Models
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 5 of its 17 references that are in the map. First posted on arXiv 19 Oct 2021.
Builds on
5 of 17 references.
References · 5
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2018Similarity encoding for learning with dirty categorical variablescited by 28
- 2016Explaining Classification Models Built on High-Dimensional Sparse Datacited by 3
- 2019Sufficient Representations for Categorical Variablescited by 2
- 2018A Note on Coding and Standardization of Categorical Variables in (Sparse) Group Lasso Regressioncited by 1
Built on by
Citing papers per year: 2024: 1.
1 paper.
- 2024Categorical data clustering: 25 years beyond K-modescited by 2
- 2024Categorical data clustering: 25 years beyond K-modes30 Aug 2024