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
8c447cec
Commit
8c447cec
authored
Jul 09, 2018
by
Amir MOHAMMADI
Browse files
Fix broken commands cref
bob.extension!86
parent
0b85f0c6
Pipeline
#21747
passed with stage
in 25 minutes and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/script/pad_commands.py
View file @
8c447cec
...
...
@@ -23,7 +23,7 @@ CRITERIA = ('eer', 'min-hter', 'bpcer20')
@
click
.
option
(
'-n'
,
'--n-sys'
,
default
=
1
,
type
=
click
.
INT
,
show_default
=
True
)
@
verbosity_option
()
@
click
.
pass_context
def
gen
(
ctx
,
outdir
,
mean_match
,
mean_non_match
,
n_sys
):
def
gen
(
ctx
,
outdir
,
mean_match
,
mean_non_match
,
n_sys
,
**
kwargs
):
"""Generate random scores.
Generates random scores in 4col or 5col format. The scores are generated
using Gaussian distribution whose mean is an input
...
...
bob/pad/base/script/vuln_commands.py
View file @
8c447cec
...
...
@@ -77,7 +77,7 @@ def write_scores_to_file(neg, pos, filename, attack=False):
@
click
.
option
(
'-mz'
,
'--mean-zei'
,
default
=
3
,
type
=
FLOAT
,
show_default
=
True
)
@
click
.
option
(
'-mp'
,
'--mean-pa'
,
default
=
5
,
type
=
FLOAT
,
show_default
=
True
)
@
verbosity_option
()
def
gen
(
outdir
,
mean_gen
,
mean_zei
,
mean_pa
):
def
gen
(
outdir
,
mean_gen
,
mean_zei
,
mean_pa
,
**
kwargs
):
"""Generate random scores.
Generates random scores for three types of verification attempts:
genuine users, zero-effort impostors and spoofing attacks and writes them
...
...
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