Commit dcb6e037 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

Fix typo

parent 8018f199
...@@ -11,8 +11,7 @@ class Metrics(bio_figure.Metrics): ...@@ -11,8 +11,7 @@ class Metrics(bio_figure.Metrics):
'''Compute metrics from score files''' '''Compute metrics from score files'''
def __init__(self, ctx, scores, evaluation, func_load, def __init__(self, ctx, scores, evaluation, func_load,
names=('FtA', 'APCER', 'BPCER', 'FAR', 'FRR', 'ACER=(APCER + ' names=('FtA', 'APCER', 'BPCER', 'FAR', 'FRR', 'HTER')):
'BPCER) / 2')):
super(Metrics, self).__init__( super(Metrics, self).__init__(
ctx, scores, evaluation, func_load, names ctx, scores, evaluation, func_load, names
) )
...@@ -47,7 +46,7 @@ class Hist(measure_figure.Hist): ...@@ -47,7 +46,7 @@ class Hist(measure_figure.Hist):
def _setup_hist(self, neg, pos): def _setup_hist(self, neg, pos):
self._title_base = 'PAD' self._title_base = 'PAD'
self._density_hist( self._density_hist(
pos[0], n=0, label='Bona Fide', color='C1' pos[0], n=0, label='Bona fide', color='C1'
) )
self._density_hist( self._density_hist(
neg[0], n=1, label='Presentation attack', alpha=0.4, color='C7', neg[0], n=1, label='Presentation attack', alpha=0.4, color='C7',
......
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