The Kernel Density Integral Transformation

Calvin McCarter
9/18/2023
stat.MLcs.LG

Official code: calvinmccarter/kditransform (9 stars, Apache-2.0, last commit 2025-10-23).

Abstract

Feature preprocessing continues to play a critical role when applying machine learning and statistical methods to tabular data. In this paper, we propose the use of the kernel density integral transformation as a feature preprocessing step. Our approach subsumes the two leading feature preprocessing methods as limiting cases: linear min-max scaling and quantile transformation. We demonstrate that, without hyperparameter tuning, the kernel density integral transformation can be used as a simple drop-in replacement for either method, offering protection from the weaknesses of each. Alternatively, with tuning of a single continuous hyperparameter, we frequently outperform both of these methods. Finally, we show that the kernel density transformation can be profitably applied to statistical data analysis, particularly in correlation analysis and univariate clustering.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Kernel density integral transformation: feature preprocessing and univariate clustering (TMLR, 2023)

90PythonJul 27, 202312 months agoApache-2.0
data-sciencediscretizationkernel-density-estimationpreprocessingpython+1 more

Similar Papers

Cite this paper

@article{mccarter2023kernel,
  title  = {The Kernel Density Integral Transformation},
  author = {Calvin McCarter},
  year   = {2023},
  eprint = {2309.10194},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.10194v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.10194.svg)](https://codeofpaper.com/paper/2309.10194)

Discussion