Home▸Data Science▸Categorical Encoding: One-Hot, Label, Frequency and Target Overfitting (2D)

🗂️ Categorical Encoding: One-Hot, Label, Frequency and Target Overfitting (2D)

2D categorical encoding lab: label, frequency, raw and smoothed target, out-of-fold and one-hot encoders compared on train and test R-squared, with per-category estimation error against sigma over root n and six numerical checks.

Data Science2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
Categorical Encoding: One-Hot, Label, Frequency and Target Overfitting (2D) ↗ Open standalone
⚙ Under the hood

2D categorical encoding lab: label, frequency, raw and smoothed target, out-of-fold and one-hot encoders compared on train and test R-squared, with per-category estimation error against sigma over root n and six numerical checks.

feature-engineeringcategorical-encodingtarget-encodingone-hotoverfitting

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)