Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pad.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.pad.base
Merge requests
!65
Separate semilogx and TPR options in ROC plots
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Separate semilogx and TPR options in ROC plots
roc-semilogx-tpr
into
master
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Separate semilogx and TPR options in ROC plots
Amir MOHAMMADI
requested to merge
roc-semilogx-tpr
into
master
Nov 13, 2019
Overview
0
Commits
1
Pipelines
2
Changes
1
Depends on
bob.measure!98 (merged)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
76b21002
1 commit,
Nov 13, 2019
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
bob/pad/base/script/pad_figure.py
+
1
−
1
View file @ 76b21002
Edit in single-file editor
Open in Web IDE
Show full file
@@ -328,7 +328,7 @@ class Roc(bio_figure.Roc):
def
__init__
(
self
,
ctx
,
scores
,
evaluation
,
func_load
):
super
(
Roc
,
self
).
__init__
(
ctx
,
scores
,
evaluation
,
func_load
)
self
.
_x_label
=
ctx
.
meta
.
get
(
"
x_label
"
)
or
"
APCER
"
default_y_label
=
"
1-BPCER
"
if
self
.
_
semilogx
else
"
BPCER
"
default_y_label
=
"
1-BPCER
"
if
self
.
_
tpr
else
"
BPCER
"
self
.
_y_label
=
ctx
.
meta
.
get
(
"
y_label
"
)
or
default_y_label
Loading