getBinaryTargetLevel {caretEnsemble}R Documentation

Return the configured target binary class level

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

getBinaryTargetLevel()

Value

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

See Also

setBinaryTargetLevel


[Package caretEnsemble version 2.0.1 Index]