bob.measure.eer_threshold

bob.measure.eer_threshold((object)negatives, (object)positives) → float :

Calculates the threshold that is as close as possible to the equal-error-rate (EER) given the input data. The EER should be the point where the FAR equals the FRR. Graphically, this would be equivalent to the intersection between the ROC (or DET) curves and the identity.