Description Usage Arguments Value
View source: R/confusionMatrix.R
Calculate true/false positive/negative counts
1 |
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.