Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.base
Commits
cb251145
There was a problem fetching the pipeline summary.
Commit
cb251145
authored
7 years ago
by
Manuel Günther
Browse files
Options
Downloads
Patches
Plain Diff
Removed last occurrence of bob.measure.plot
parent
be75d1da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!68
Changed ROC and DET, CMC and EPC to use probabilities without percentages
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/base/script/evaluate.py
+1
-1
1 addition, 1 deletion
bob/bio/base/script/evaluate.py
with
1 addition
and
1 deletion
bob/bio/base/script/evaluate.py
+
1
−
1
View file @
cb251145
...
...
@@ -313,7 +313,7 @@ def main(command_line_parameters=None):
if
args
.
roc
:
logger
.
info
(
"
Computing CAR curves on the development
"
+
(
"
and on the evaluation set
"
if
args
.
eval_files
else
"
set
"
))
min_far
=
int
(
math
.
floor
(
math
.
log
(
args
.
min_far_value
,
10
)))
fars
=
bob
.
measure
.
plot
.
log_values
(
min_far
)
fars
=
[
math
.
pow
(
10.
,
i
*
0.25
)
for
i
in
range
(
min_far
*
4
,
0
)]
+
[
1.
]
frrs_dev
=
[
bob
.
measure
.
roc_for_far
(
scores
[
0
],
scores
[
1
],
fars
)
for
scores
in
scores_dev
]
if
args
.
eval_files
:
frrs_eval
=
[
bob
.
measure
.
roc_for_far
(
scores
[
0
],
scores
[
1
],
fars
)
for
scores
in
scores_eval
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment