powered by
Construct a single row summary of the classifier.
ebc_tidy( detected, true, all, m = length(all), measures = c("TPR", "FPR", "FDR", "ACC", "F1") )
A single-row data.frame with one column per element in measures.
measures
Vector of elements that are detected.
Vector of element that are supposed to be detected.
Vector of all elements.
Total number of elements.
Desired measures of performance.
See ebc_allmeasures for the available measures and their descriptions.
ebc_allmeasures
ebc_TP, ebc_TPR, ebc_allmeasures
ebc_TP
ebc_TPR
ebc_tidy(detected = c("A", "C", "D"), true = c("A", "B", "C"), all = LETTERS[1:6], measures = c("ACC", "FDR"))
Run the code above in your browser using DataLab