Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
482474c8
Commit
482474c8
authored
Jan 22, 2012
by
Davis King
Browse files
relaxed test slightly
parent
1e8bc435
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/test/active_learning.cpp
dlib/test/active_learning.cpp
+1
-1
No files found.
dlib/test/active_learning.cpp
View file @
482474c8
...
@@ -151,7 +151,7 @@ namespace
...
@@ -151,7 +151,7 @@ namespace
// When we pick the best/front ranked element then the active learning method
// When we pick the best/front ranked element then the active learning method
// shouldn't do much worse than random selection (and often much better).
// shouldn't do much worse than random selection (and often much better).
DLIB_TEST
(
test_rank_unlabeled_training_samples
(
samples
,
labels
,
max_min_margin
,
25
,
true
)
>=
0.97
);
DLIB_TEST
(
test_rank_unlabeled_training_samples
(
samples
,
labels
,
max_min_margin
,
25
,
true
)
>=
0.97
);
DLIB_TEST
(
test_rank_unlabeled_training_samples
(
samples
,
labels
,
ratio_margin
,
25
,
true
)
>=
0.9
7
);
DLIB_TEST
(
test_rank_unlabeled_training_samples
(
samples
,
labels
,
ratio_margin
,
25
,
true
)
>=
0.9
6
);
// However, picking the worst ranked element should do way worse than random
// However, picking the worst ranked element should do way worse than random
// selection.
// selection.
DLIB_TEST
(
test_rank_unlabeled_training_samples
(
samples
,
labels
,
max_min_margin
,
25
,
false
)
<
0.8
);
DLIB_TEST
(
test_rank_unlabeled_training_samples
(
samples
,
labels
,
max_min_margin
,
25
,
false
)
<
0.8
);
...
...
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