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
47b3f2d0
Commit
47b3f2d0
authored
Mar 01, 2019
by
Amir MOHAMMADI
Browse files
Merge branch 'roc_axis_label' into 'master'
fix for wrong Axis label with -nG option See merge request
!59
parents
e1c249bf
5382fd43
Pipeline
#28220
passed with stages
in 14 minutes and 13 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/script/pad_figure.py
View file @
47b3f2d0
'''Runs error analysis on score sets, outputs metrics and plots'''
import
bob.measure.script.figure
as
measure_figure
...
...
@@ -46,7 +47,9 @@ 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'
self
.
_y_label
=
ctx
.
meta
.
get
(
'y_label'
)
or
'1 - BPCER'
default_y_label
=
'1-BPCER'
if
self
.
_semilogx
\
else
'BPCER'
self
.
_y_label
=
ctx
.
meta
.
get
(
'y_label'
)
or
default_y_label
class
Det
(
bio_figure
.
Det
):
...
...
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