View source: R/helper_functions.R
getBinaryTargetLevel | R Documentation |
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)
.
getBinaryTargetLevel()
Currently configured binary target level (as integer equal to 1 or 2)
setBinaryTargetLevel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.