ebc_tidy | R Documentation |
Construct a single row summary of the classifier.
ebc_tidy( detected, true, all, m = length(all), measures = c("TPR", "FPR", "FDR", "ACC", "F1") )
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. |
measures |
Desired measures of performance. |
See ebc_allmeasures
for the available measures and
their descriptions.
A single-row data.frame with one column per
element in measures
.
ebc_TP
, ebc_TPR
,
ebc_allmeasures
ebc_tidy(detected = c("A", "C", "D"), true = c("A", "B", "C"), all = LETTERS[1:6], measures = c("ACC", "FDR"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.