Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.measure
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.measure
Commits
c973cb27
Commit
c973cb27
authored
Jun 28, 2018
by
Tiago de Freitas Pereira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'load' into 'master'
Consider non 1 values negatives See merge request
!80
parents
751d030e
b1c67590
Pipeline
#21408
passed with stages
in 15 minutes and 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bob/measure/load.py
bob/measure/load.py
+2
-2
No files found.
bob/measure/load.py
View file @
c973cb27
...
...
@@ -43,8 +43,8 @@ def split(filename):
positive) and the second the scores
(float).'''
.
format
(
filename
))
raise
return
(
scores
[
numpy
.
where
(
neg_pos
==
-
1
)],
scores
[
numpy
.
where
(
neg_pos
==
1
)
])
positives
=
neg_pos
==
1
return
(
scores
[
~
positives
],
scores
[
positives
])
def
split_files
(
filenames
):
...
...
Write
Preview
Markdown
is supported
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