Crandore Hub

vtreat

A Statistically Sound 'data.frame' Processor/Conditioner

A 'data.frame' processor/conditioner that prepares real-world data for predictive modeling in a statistically sound manner. 'vtreat' prepares variables so that data has fewer exceptional cases, making it easier to safely use models in production. Common problems 'vtreat' defends against: 'Inf', 'NA', too many categorical levels, rare categorical levels, and new categorical levels (levels seen during application, but not during training). Reference: "'vtreat': a data.frame Processor for Predictive Modeling", Zumel, Mount, 2016, <DOI:10.5281/zenodo.1173313>.

Versions across snapshots

VersionRepositoryFileSize
1.6.5 2026-04-09 windows/windows R-4.5 vtreat_1.6.5.zip 1.3 MiB

Dependencies (latest)

Depends

Imports

Suggests