... | ... |
@@ -390,6 +390,10 @@ def test_learner_performance_is_invariant_under_scaling(learner_type, f, learner |
390 | 390 |
|
391 | 391 |
npoints = random.randrange(300, 500) |
392 | 392 |
|
393 |
+ if learner_type is LearnerND: |
|
394 |
+ # Because the LearnerND is slow |
|
395 |
+ npoints //= 10 |
|
396 |
+ |
|
393 | 397 |
for n in range(npoints): |
394 | 398 |
cxs, _ = control.ask(1) |
395 | 399 |
xs, _ = learner.ask(1) |