We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 628152b commit 53e723aCopy full SHA for 53e723a
adaptive/learner/sequence_learner.py
@@ -1,12 +1,9 @@
1
-import sys
2
from copy import copy
3
4
from sortedcontainers import SortedSet, SortedDict
5
6
from adaptive.learner.base_learner import BaseLearner
7
8
-inf = sys.float_info.max
9
-
10
11
class _IgnoreFirstArgument:
12
"""Remove the first argument from the call signature.
@@ -33,7 +30,8 @@ def __setstate__(self, function):
33
30
34
31
35
32
class SequenceLearner(BaseLearner):
36
- r"""A learner that will learn a sequence.
+ r"""A learner that will learn a sequence. It simply returns
+ the points in the provided sequence when asked.
37
38
This is useful when your problem cannot be formulated in terms of
39
another adaptive learner, but you still want to use Adaptive's
0 commit comments