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
537f20b9
Commit
537f20b9
authored
8 years ago
by
Manuel Günther
Browse files
Options
Downloads
Patches
Plain Diff
Fixed
#22
with the proposed correction
parent
d84630fa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/bio/base/tools/scoring.py
+1
-1
1 addition, 1 deletion
bob/bio/base/tools/scoring.py
with
1 addition
and
1 deletion
bob/bio/base/tools/scoring.py
+
1
−
1
View file @
537f20b9
...
@@ -19,7 +19,7 @@ def _scores(algorithm, model, probes, allow_missing_files):
...
@@ -19,7 +19,7 @@ def _scores(algorithm, model, probes, allow_missing_files):
# the file selector object
# the file selector object
fs
=
FileSelector
.
instance
()
fs
=
FileSelector
.
instance
()
# the scores to be computed; initialized with NaN
# the scores to be computed; initialized with NaN
scores
=
numpy
.
full
((
1
,
len
(
probes
)),
numpy
.
nan
,
numpy
.
float64
)
scores
=
numpy
.
ones
((
1
,
len
(
probes
)),
numpy
.
float64
)
*
numpy
.
nan
if
allow_missing_files
and
model
is
None
:
if
allow_missing_files
and
model
is
None
:
# if we have no model, all scores are undefined
# if we have no model, all scores are undefined
...
...
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