get_prediction_counts {dce} | R Documentation |
Useful for performance evaluations
get_prediction_counts(truth, inferred, cutoff = 0.5)
truth |
Ground truth |
inferred |
Computed results |
cutoff |
Threshold for classification |
data.frame
Hans Wurst
get_prediction_counts(c(1,0), c(1,1))