diff --git a/bob/pad/base/script/metrics.py b/bob/pad/base/script/metrics.py index f1ace8b8514b1a6401196c473a5746cce543cf47..54b9fb6b5a188774e687cef5d44c2be6691de6be 100644 --- a/bob/pad/base/script/metrics.py +++ b/bob/pad/base/script/metrics.py @@ -49,11 +49,11 @@ def calc_threshold(method, neg, pos): """ method = method.lower() if method == 'bpcer20': - threshold = far_threshold(neg, pos, 0.05, True) + threshold = far_threshold(neg, pos, 0.05, False) elif method == 'eer': - threshold = eer_threshold(neg, pos, True) + threshold = eer_threshold(neg, pos, False) elif method == 'min-hter': - threshold = min_hter_threshold(neg, pos, True) + threshold = min_hter_threshold(neg, pos, False) else: raise ValueError("Unknown threshold criteria: {}".format(method))