Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.measure
Commits
a92c5e3e
Commit
a92c5e3e
authored
Aug 31, 2017
by
Manuel Günther
Browse files
Correctly handled NaN values in DIR plot
parent
10846a47
Pipeline
#11897
passed with stages
in 17 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/plot.py
View file @
a92c5e3e
...
...
@@ -554,8 +554,8 @@ def detection_identification_curve(cmc_scores, far_values=log_values(), rank=1,
# compute detection and identification rate based on the thresholds for
# the given rank
rates
=
[
100.
*
detection_identification_rate
(
cmc_scores
,
t
,
rank
)
for
t
in
thresholds
]
rates
=
[
detection_identification_rate
(
cmc_scores
,
t
,
rank
)
if
not
math
.
isnan
(
t
)
else
numpy
.
nan
for
t
in
thresholds
]
# plot curve
if
logx
:
...
...
Write
Preview
Supports
Markdown
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