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.pad.base
Commits
1a7a944b
Commit
1a7a944b
authored
Jun 18, 2018
by
Theophile GENTILHOMME
Browse files
[script][vuln_comand] Remove bcper20 criteria
parent
5bae9b02
Pipeline
#21137
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/script/vuln_commands.py
View file @
1a7a944b
...
...
@@ -118,7 +118,7 @@ def gen(outdir, mean_gen, mean_zei, mean_pa):
@
common_options
.
y_label_option
()
@
click
.
option
(
'-c'
,
'--criteria'
,
default
=
None
,
show_default
=
True
,
help
=
'Criteria for threshold selection'
,
type
=
click
.
Choice
((
'eer'
,
'min-hter'
,
'bpcer20'
)))
type
=
click
.
Choice
((
'eer'
,
'min-hter'
)))
@
click
.
option
(
'--real-data/--no-real-data'
,
default
=
True
,
show_default
=
True
,
help
=
'If False, will annotate the plots hypothetically, instead '
'of with real data values of the calculated error rates.'
)
...
...
@@ -162,7 +162,7 @@ def roc(ctx, scores, criteria, real_data, **kwargs):
@
common_options
.
y_label_option
()
@
click
.
option
(
'-c'
,
'--criteria'
,
default
=
None
,
show_default
=
True
,
help
=
'Criteria for threshold selection'
,
type
=
click
.
Choice
((
'eer'
,
'min-hter'
,
'bpcer20'
)))
type
=
click
.
Choice
((
'eer'
,
'min-hter'
)))
@
click
.
option
(
'--real-data/--no-real-data'
,
default
=
True
,
show_default
=
True
,
help
=
'If False, will annotate the plots hypothetically, instead '
'of with real data values of the calculated error rates.'
)
...
...
@@ -257,7 +257,7 @@ def epc(ctx, scores, **kwargs):
)
@
click
.
option
(
'-c'
,
'--criteria'
,
default
=
"eer"
,
show_default
=
True
,
help
=
'Criteria for threshold selection'
,
type
=
click
.
Choice
((
'eer'
,
'min-hter'
,
'bpcer20'
)))
type
=
click
.
Choice
((
'eer'
,
'min-hter'
)))
@
click
.
option
(
'-vp'
,
'--var-param'
,
default
=
"omega"
,
show_default
=
True
,
help
=
'Name of the varying parameter'
,
type
=
click
.
Choice
((
'omega'
,
'beta'
)))
...
...
@@ -367,7 +367,7 @@ def hist(ctx, scores, **kwargs):
@
click
.
command
(
context_settings
=
dict
(
token_normalize_func
=
lambda
x
:
x
.
lower
()))
@
common_options
.
scores_argument
(
min_arg
=
2
,
force_eval
=
True
,
nargs
=-
1
)
@
common_options
.
table_option
()
@
common_options
.
criterion_option
(
lcriteria
=
[
'bpcer20'
,
'eer'
,
'min-hter'
])
@
common_options
.
criterion_option
(
lcriteria
=
[
'eer'
,
'min-hter'
])
@
common_options
.
thresholds_option
()
@
open_file_mode_option
()
@
common_options
.
output_log_metric_option
()
...
...
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