setBinaryTargetLevel: Set the target binary class level

Description Usage Arguments See Also

View source: R/helper_functions.R

Description

For binary classification problems, ensemble stacks and certain performance measures require an awareness of which class in a two-factor outcome is the "target" class. By default, the first level in an outcome factor is used but this value can be overridden using setBinaryTargetLevel(2L)

Usage

1

Arguments

level

an integer in {1, 2} to be used as target outcome level

See Also

getBinaryTargetLevel


zachmayer/caretEnsemble documentation built on Nov. 7, 2017, 5:01 a.m.