Skip to main navigation Skip to search Skip to main content

Quantile Encoder: Tackling High Cardinality Categorical Features in Regression Problems

  • Carlos Mougan*
  • , David Masip
  • , J. Nin
  • , Oriol Pujol
  • *Corresponding author for this work

Research output: Book chapter › Conference contribution › peer-review

12 Citations (Scopus)

Abstract

Regression problems have been widely studied in machine learning literature resulting in a plethora of regression models and performance measures. However, there are few techniques specially dedicated to solve the problem of how to incorporate categorical features to regression problems. Usually, categorical feature encoders are general enough to cover both classification and regression problems. This lack of specificity results in underperforming regression models. In this paper, we provide an in-depth analysis of how to tackle high cardinality categorical features with the quantile. Our proposal outperforms state-of-the-art encoders, including the traditional statistical mean target encoder, when considering the Mean Absolute Error, especially in the presence of long-tailed or skewed distributions. Besides, to deal with possible overfitting when there are categories with small support, our encoder benefits from additive smoothing. Finally, we describe how to expand the encoded values by creating a set of features with different quantiles. This expanded encoder provides a more informative output about the categorical feature in question, further boosting the performance of the regression model.

Original languageEnglish
Title of host publicationModeling Decisions for Artificial Intelligence
Subtitle of host publication18th International Conference, MDAI 2021, Proceedings
EditorsVicenç Torra, Yasuo Narukawa
PublisherSpringer Science and Business Media Deutschland GmbH
ChapterMachine Learning
Pages168-180
Number of pages13
Edition2021
ISBN (Electronic)978-3-030-85529-1
ISBN (Print)978-3-030-85528-4
DOIs
Publication statusPublished - 2021
Event18th International Conference on Modeling Decisions for Artificial Intelligence, MDAI 2021 - Virtual, Online
Duration: 27 Sept 2021 → 30 Sept 2021

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume12898 LNAI
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference18th International Conference on Modeling Decisions for Artificial Intelligence, MDAI 2021
CityVirtual, Online
Period27/09/21 → 30/09/21

Keywords

  • Categorical features
  • Machine learning
  • Regression problems
  • Statistical learning

Fingerprint

Dive into the research topics of 'Quantile Encoder: Tackling High Cardinality Categorical Features in Regression Problems'. Together they form a unique fingerprint.

Cite this