Binary confusion table
oda_confusion_binary.RdCompute a weighted binary confusion table from actual and predicted labels.
Value
Named list with integer count fields TP, TN, FP,
FN (weighted sums), and rate fields sensitivity,
specificity (proportions in [0, 1]), and mean_pac
(proportion in [0, 1]).
Note: With unit weights these are raw integer counts. With
prior-odds weights (from oda_univariate_core with
priors_on = TRUE) they are weighted counts, not raw integers.