View source: R/confusion_measures.R
ebc_confusion | R Documentation |
Compute the the confusion matrix
ebc_confusion(detected, true, all, m = length(all), prop = FALSE)
detected |
Vector of elements that are detected. |
true |
Vector of element that are supposed to be detected. |
all |
Vector of all elements. |
m |
Total number of elements. |
prop |
Logical, default to |
See ebc_allmeasures
for the description of the measures.
A 2*2 named matrix.
ebc_confusion(detected = c("A", "C", "D"), true = c("A", "B", "C"), m = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.