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