There is a newer version of the record available.

Published November 29, 2016 | Version v1
Preprint Open

vtreat: a data.frame Processor for Predictive Modeling

  • 1. Win-Vector LLC

Description

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).

Files

vtreat.pdf

Files (547.9 kB)

Name Size Download all
md5:12877eceb9f09ea567b3d9f884905d7c
547.9 kB Preview Download