Commit ae7974fd authored by André Anjos's avatar André Anjos 💬

Log HTER and IAPMR on info stream

parent 165fcc9d
Pipeline #21241 failed with stage
in 10 minutes and 10 seconds
......@@ -123,7 +123,10 @@ def plot_vuln_score_dist(scores, y1_label=True, y2_label=True, x_label=True,
spoof_eval_neg, spoof_eval_pos, _ = fta(split(scores[3]))
threshold = calc_threshold('eer', licit_dev_neg, licit_dev_pos)
far, frr = farfrr(licit_eval_neg, licit_eval_pos, threshold)
iapmr, _ = farfrr(spoof_eval_neg, licit_eval_pos, threshold)'HTER (t=%.2g) = %.2f%%; IAPMR = %.2f%%', threshold,
50*(far+frr), 100*iapmr)
if title:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment