Measure to compare true observed labels with predicted labels in binary classification tasks.
True (observed) labels. Must have the exactly same two levels and the same length as
Predicted response labels. Must have the exactly same two levels and the same length as
Name of the positive class.
Additional arguments. Currently ignored.
This measure counts the true positives, i.e. the number of predictions correctly indicating a positive class label.
Range: \([0, \infty)\)