calcMonteCarlo: Calculate 'plMonteCarlo' Performance

Description Usage Arguments Details Value

View source: R/7.3-plMonteCarlo.R

Description

calcMonteCarlo calculates a single performance measure for the results of a plMonteCarlo function call.

Usage

1
calcMonteCarlo(pl, colBy = "valid.acc")

Arguments

pl

Specifies the ExprsPipeline object returned by plMonteCarlo.

colBy

A character vector or string. Specifies column(s) to use when summarizing model performance. Listing multiple columns will calculate performance as a product of those listed performances.

Details

For each dataset split (i.e., bootstrap), calcMonteCarlo averages the validation set performance for the "best" model (where "best" is defined as the model with the maximum "internal" cross-validation accuracy, max($train.plCV)). The validation set performance ultimately averaged depends on the supplied colBy argument.

Value

A numeric scalar. The cross-validation accuracy.


tpq/exprso documentation built on July 27, 2019, 8:44 a.m.