evaluation_stage_generate_options: Store necessary information for evaluation stage.

Description Usage Arguments Details Value

View source: R/evaluation_stage.r

Description

The evaluation_stage function needs a data.frame containing some information (namely, score and dep_var). This function extracts that information from the active stageRunner. Note this means evaluation will not work if not called from syberia's run_model. This will later be alleviated by the introduction of data partitions into syberia.

Usage

1

Arguments

params

list. A list containing output, cutoff, train_percent, dep_var, and id_column as in the evaluation_stage parameters.

Details

If the evaluation stage prints a CSV copy of the prediction dataframe (see the output parameter in the evaluation_stage options, it is also performed in this helper function.

Value

a function suitable for use in a stageRunner.


robertzk/syberiaStages documentation built on May 27, 2019, 11:38 a.m.