View source: R/helper_functions.R
setBinaryTargetLevel | 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, the first level in an outcome factor is used but
this value can be overridden using setBinaryTargetLevel(2L)
setBinaryTargetLevel(level)
level |
an integer in {1, 2} to be used as target outcome level |
getBinaryTargetLevel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.