Commit ad5bb33c authored by Saeed SARFJOO's avatar Saeed SARFJOO

fix test of mindcf

parent 0626adb8
Pipeline #27405 passed with stage
in 14 minutes and 12 seconds
......@@ -501,6 +501,6 @@ def test_mindcf():
th = min_weighted_error_rate_threshold(negatives, positives, cost, True)
far, frr = farfrr(negatives, positives, th)
mindcf = (cost * far + (1-cost)*frr)*100
assert mindcf <= 1.0
assert mindcf< 1.0 + 1e-8
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