Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quantum Tinkerer
adaptive
Commits
21a836e8
Commit
21a836e8
authored
Dec 09, 2018
by
Bas Nijholt
Committed by
Joseph Weston
Dec 17, 2018
Browse files
take fewer points to speed up the test for the LearnerND
parent
3c901037
Pipeline
#14144
passed with stages
in 23 minutes and 26 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
adaptive/tests/test_learners.py
View file @
21a836e8
...
...
@@ -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
)
...
...
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