Description Usage Arguments Value Examples
Calculate classifier performance metrics
1 | calcPerf(confusion, metrics, melt = F, add.start.end.values = T)
|
confusion |
A numeric vector or matrix or data frame. These should contain a confusion matrix for one cutoff or confusion matrices for multiple cutoffs. |
metrics |
A character vector of the desired statistics. Multiple metrics can be specified. |
melt |
If melt = FALSE, output in wide format. If melt = TRUE, output in long format |
A numeric vector or matrix of the selected performance metrics
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.