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.measure
Commits
63f4557a
Commit
63f4557a
authored
Nov 07, 2016
by
André Anjos
💬
Browse files
Undo fix that conflicts with MR that closed
#19
parent
514da338
Pipeline
#5207
passed with stages
in 7 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/measure/test_error.py
View file @
63f4557a
...
...
@@ -216,10 +216,10 @@ def test_plots():
# EPC curve, you need to have a development and a test set. We will split,
# by the middle, the negatives and positives sample we have, just for the
# sake of testing
dev_negatives
=
negatives
[:
int
(
negatives
.
shape
[
0
]
/
2
)]
test_negatives
=
negatives
[
int
(
negatives
.
shape
[
0
]
/
2
):]
dev_positives
=
positives
[:
int
(
positives
.
shape
[
0
]
/
2
)]
test_positives
=
positives
[
int
(
positives
.
shape
[
0
]
/
2
):]
dev_negatives
=
negatives
[:(
negatives
.
shape
[
0
]
/
2
)]
test_negatives
=
negatives
[(
negatives
.
shape
[
0
]
/
2
):]
dev_positives
=
positives
[:(
positives
.
shape
[
0
]
/
2
)]
test_positives
=
positives
[(
positives
.
shape
[
0
]
/
2
):]
xy
=
epc
(
dev_negatives
,
dev_positives
,
test_negatives
,
test_positives
,
100
)
# uncomment the next line to save a reference value
...
...
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