getBinaryTargetLevel: Return the configured target binary class level

Description Usage Value 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, this class will be assumed to be the first level in an outcome factor but that setting can be overridden using setBinaryTargetLevel(2L).

Usage

1

Value

Currently configured binary target level (as integer equal to 1 or 2)

See Also

setBinaryTargetLevel


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