mungebit_template: Create a mungebit template from an expression.

Description Usage Arguments Details Value

Description

The format here is similar to the format required for specifying a mungebit as a resource in a syberia modeling project.

Usage

1

Arguments

expression

expression. An R expression containing potentially local variables train or predict indicating the train and predict function for the mungebit to be created.

Details

The returned mungebit template is a zero-argument function that produces an untrained mungebit given by the expression.

The expression passed in can specify local variables train or predict indicating the train and predict function for the mungebit, respectively, as well as set column_transformation to TRUE to specify they are column transformations.

Value

A zero-argument function that produces the mungebit given by the expression.


syberia/syberiaMungebits2 documentation built on May 30, 2019, 10:42 p.m.