Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.pad.base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.pad.base
Commits
a4f96c14
Commit
a4f96c14
authored
May 29, 2019
by
Amir MOHAMMADI
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the sorted argument
parent
6ad86967
Pipeline
#30570
passed with stages
in 21 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bob/pad/base/script/error_utils.py
bob/pad/base/script/error_utils.py
+1
-1
No files found.
bob/pad/base/script/error_utils.py
View file @
a4f96c14
...
...
@@ -47,7 +47,7 @@ def calc_threshold(method, pos, negs, all_negs, far_value=None, is_sorted=False)
threshold
=
apcer_threshold
(
desired_apcer
,
pos
,
*
negs
,
is_sorted
=
is_sorted
)
elif
"apcer"
in
method
:
desired_bpcer
=
1
/
float
(
method
.
replace
(
"apcer"
,
""
))
threshold
=
frr_threshold
(
all_negs
,
pos
,
desired_bpcer
,
True
)
threshold
=
frr_threshold
(
all_negs
,
pos
,
desired_bpcer
,
is_sorted
=
is_sorted
)
elif
method
==
"far"
:
threshold
=
far_threshold
(
all_negs
,
pos
,
far_value
,
is_sorted
=
is_sorted
)
elif
method
==
"eer"
:
...
...
Amir MOHAMMADI
@amohammadi
mentioned in merge request
!61 (merged)
·
May 29, 2019
mentioned in merge request
!61 (merged)
mentioned in merge request !61
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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