Description Usage Arguments Value
View source: R/confusionMatrix.R
Create confusion matrix(-ces)
1 2 3 4 5 6 7 | confusionMatrix(
predicted,
actual,
cutoff = "all",
cutoff.interval = 0.02,
simplify = F
)
|
predicted |
A numeric vector of prediction probabilities, or a logical vector |
actual |
A logical vector of the actual classes |
cutoff |
A single classification cutoff from 0 to 1. Only required when 'predicted' are probabilities |
A integer vector of the true/false positive/negative counts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.