vtreat: a data.frame Processor for Predictive Modeling (original) (raw)

View PDF

Abstract:We look at common problems found in data that is used for predictive modeling tasks, and describe how to address them with the vtreat R package. vtreat prepares real-world data for predictive modeling in a reproducible and statistically sound manner. We describe the theory of preparing variables so that data has fewer exceptional cases, making it easier to safely use models in production. Common problems dealt with include: infinite values, invalid values, NA, too many categorical levels, rare categorical levels, and new categorical levels (levels seen during application, but not during training). Of special interest are techniques needed to avoid needlessly introducing undesirable nested modeling bias (which is a risk when using a data-preprocessor).

Submission history

From: John Mount [view email]
[v1] Tue, 29 Nov 2016 03:53:16 UTC (371 KB)
[v2] Mon, 12 Dec 2016 18:10:46 UTC (371 KB)
[v3] Mon, 31 Jul 2017 13:20:36 UTC (370 KB)
[v4] Sat, 4 May 2019 15:43:58 UTC (370 KB)
[v5] Mon, 1 Jul 2019 17:40:05 UTC (370 KB)
[v6] Wed, 24 Jul 2019 14:34:29 UTC (370 KB)
[v7] Sat, 27 Jul 2019 22:56:55 UTC (367 KB)
[v8] Wed, 11 Sep 2019 15:37:34 UTC (367 KB)
[v9] Sun, 22 Sep 2019 22:04:13 UTC (367 KB)