Skip to content
Snippets Groups Projects
Commit a0bb138d authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME
Browse files

Add definitions

parent 7dd06f4c
No related branches found
No related tags found
1 merge request!167Various fixes
Pipeline #
...@@ -32,7 +32,8 @@ def rank_option(**kwargs): ...@@ -32,7 +32,8 @@ def rank_option(**kwargs):
@common_options.metrics_command(common_options.METRICS_HELP.format( @common_options.metrics_command(common_options.METRICS_HELP.format(
names='FtA, FAR, FRR, FMR, FMNR, HTER', names='FtA, FAR, FRR, FMR, FMNR, HTER',
criteria=CRITERIA, score_format=SCORE_FORMAT, criteria=CRITERIA, score_format=SCORE_FORMAT,
hter_note='Note that HTER = (FMR + FMNR) / 2', hter_note='Note that FAR = FMR * (1 - FtA), FRR = FtA + FMNR * (1 - FtA) '
'and HTER = (FMR + FMNR) / 2',
command='bob bio metrics'), criteria=CRITERIA) command='bob bio metrics'), criteria=CRITERIA)
@common_options.cost_option() @common_options.cost_option()
def metrics(ctx, scores, evaluation, **kwargs): def metrics(ctx, scores, evaluation, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment