play: Validate New Data by Playing a Data Tape on It

Description Usage Arguments Details Value Examples

Description

Runs a set of validation tests on new data to be predicted with an existing predictive model. These tests are based on statistics and meta data of the variables in the training data - recorded with record.

Usage

1
play(tape, newdata, verbose = TRUE)

Arguments

tape

data.tape statistics and meta data recorded from training data.

newdata

data.frame new data to be predicted with an existing predictive model.

verbose

logical should messages be printed?

Details

Look up the descriptions and other meta data of the available validation tests with get_tests_meta_data.

Value

data.playback results from validation tests.

Examples

1
2
3
4
5
6
# record tape from `iris`.
tape <- record(iris)
# load data.
data(iris_newdata)
# validate new data by playing new tape on it.
play(tape, iris_newdata)

smaakage85/recorder documentation built on June 14, 2019, 3:11 a.m.