Commit c1012d5c authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

use base.measure.epc and rmove the duplicate in bob.pad.base

parent 0cea3009
This diff is collapsed.
...@@ -10,7 +10,7 @@ import matplotlib.pyplot as mpl ...@@ -10,7 +10,7 @@ import matplotlib.pyplot as mpl
from bob.extension.scripts.click_helper import verbosity_option from bob.extension.scripts.click_helper import verbosity_option
from bob.measure.utils import (get_fta, get_thres) from bob.measure.utils import (get_fta, get_thres)
from bob.measure import ( from bob.measure import (
far_threshold, eer_threshold, min_hter_threshold, farfrr far_threshold, eer_threshold, min_hter_threshold, farfrr, epc
) )
from . import error_utils from . import error_utils
...@@ -269,7 +269,7 @@ class Epc(PadPlot): ...@@ -269,7 +269,7 @@ class Epc(PadPlot):
licit_eval_pos = eval_score[0][1] licit_eval_pos = eval_score[0][1]
spoof_eval_neg = eval_score[1][0] spoof_eval_neg = eval_score[1][0]
mpl.gcf().clear() mpl.gcf().clear()
epc_baseline = error_utils.epc( epc_baseline = epc(
licit_dev_neg, licit_dev_pos, licit_eval_neg, licit_dev_neg, licit_dev_pos, licit_eval_neg,
licit_eval_pos, 100 licit_eval_pos, 100
) )
......
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