Geometric Mean of Precision and RecallSource:
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.
Value that should be returned if the measure is not defined for the input (as described in the note). Default is
Additional arguments. Currently ignored.
This measure is undefined if precision or recall is undefined, i.e. if TP + FP = 0 or if TP + FN = 0.
He H, Garcia EA (2009). “Learning from Imbalanced Data.” IEEE Transactions on knowledge and data engineering, 21(9), 1263--1284. doi:10.1109/TKDE.2008.239 .