Commit 28fdb0db authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

[script][figure] Set names for different bio metrics

parent baf1f8dd
Pipeline #21284 passed with stage
in 44 minutes and 22 seconds
......@@ -114,6 +114,7 @@ class Dir(measure_figure.PlotBase):
class Metrics(measure_figure.Metrics):
''' Compute metrics from score files'''
def init_process(self):
if self._criterion == 'rr':
self._thres = [None] * self.n_systems if self._thres is None else \
......@@ -205,6 +206,11 @@ class Metrics(measure_figure.Metrics):
tabulate(raws, headers, self._tablefmt), file=self.log_file
)
else:
self.names = (
'Failure to Acquire', 'False Match Rate',
'False Non Match Rate', 'False Accept Rate',
'False Reject Rate', 'Half Total Error Rate'
)
super(Metrics, self).compute(idx, input_scores, input_names)
......
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