adaptive.IntegratorLearner¶
-
class
adaptive.
IntegratorLearner
(*args, **kwargs)[source]¶ Bases:
adaptive.learner.base_learner.BaseLearner
-
property
approximating_intervals
¶
-
property
err
¶
-
property
igral
¶
-
loss
(real=True)[source]¶ Return the loss for the current state of the learner.
- Parameters
real (bool, default: True) – If False, return the “expected” loss, i.e. the loss including the as-yet unevaluated points (possibly by interpolation).
-
property
npoints
¶ Number of evaluated points.
-
tell
(point, value)[source]¶ Tell the learner about a single value.
- Parameters
x (A value from the function domain) –
y (A value from the function image) –
-
property