Skip to content

Commit d265900

Browse files
committed
AverageLearner1D doesn't work with vectors
1 parent 9cb3e1f commit d265900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: adaptive/learner/average_learner1D.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121

2222

2323
class AverageLearner1D(Learner1D):
24-
"""Learns and predicts a noisy function 'f:ℝ → ℝ^N'.
24+
"""Learns and predicts a noisy function 'f:ℝ → ℝ'.
2525
2626
Parameters
2727
----------
2828
function : callable
2929
The function to learn. Must take a tuple of ``(seed, x)`` and
30-
return a real number or vector.
30+
return a real number.
3131
bounds : pair of reals
3232
The bounds of the interval on which to learn 'function'.
3333
loss_per_interval: callable, optional

0 commit comments

Comments
 (0)