bacc | R Documentation |
Balanced Accuracy of a binary classifier
bacc(true, predicted, harmonize = FALSE, verbosity = 1)
true |
True labels |
predicted |
Estimated labels |
harmonize |
Logical: passed to sensitivity and specificity, which use factor_harmonize. Default = FALSE |
verbosity |
Integer: If > 0, print messages to console. |
BAcc = .5 * (Sensitivity + Specificity)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.