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


caretEnsemble documentation built on Dec. 16, 2019, 1:33 a.m.