Skip to content
Snippets Groups Projects
Commit 590d90f5 authored by Bas Nijholt's avatar Bas Nijholt
Browse files

take fewer points to speed up the test for the LearnerND

parent 8ec83c23
No related branches found
No related tags found
1 merge request!141change the simplex_queue to a SortedKeyList
Pipeline #14138 passed
......@@ -390,6 +390,10 @@ def test_learner_performance_is_invariant_under_scaling(learner_type, f, learner
npoints = random.randrange(300, 500)
if learner_type is LearnerND:
# Because the LearnerND is slow
npoints //= 10
for n in range(npoints):
cxs, _ = control.ask(1)
xs, _ = learner.ask(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment