Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.base
Commits
a0bb138d
Commit
a0bb138d
authored
Jul 02, 2018
by
Theophile GENTILHOMME
Browse files
Add definitions
parent
7dd06f4c
Pipeline
#21538
passed with stage
in 15 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/base/script/commands.py
View file @
a0bb138d
...
...
@@ -32,7 +32,8 @@ def rank_option(**kwargs):
@
common_options
.
metrics_command
(
common_options
.
METRICS_HELP
.
format
(
names
=
'FtA, FAR, FRR, FMR, FMNR, HTER'
,
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
)
@
common_options
.
cost_option
()
def
metrics
(
ctx
,
scores
,
evaluation
,
**
kwargs
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment