Commit a4f96c14 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Fix the sorted argument

parent 6ad86967
Pipeline #30570 passed with stages
in 21 minutes and 51 seconds
......@@ -47,7 +47,7 @@ def calc_threshold(method, pos, negs, all_negs, far_value=None, is_sorted=False)
threshold = apcer_threshold(desired_apcer, pos, *negs, is_sorted=is_sorted)
elif "apcer" in method:
desired_bpcer = 1 / float(method.replace("apcer", ""))
threshold = frr_threshold(all_negs, pos, desired_bpcer, True)
threshold = frr_threshold(all_negs, pos, desired_bpcer, is_sorted=is_sorted)
elif method == "far":
threshold = far_threshold(all_negs, pos, far_value, is_sorted=is_sorted)
elif method == "eer":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment