gemseo_mlearning / adaptive / criteria / expectation

Show inherited members

criterion module

Expectation of the regression model.

Statistics:

\[E[x] = E[Y(x)]\]

Bootstrap estimator:

\[\widehat{E}[x] = \frac{1}{B}\sum_{b=1}^B Y_b(x)\]
class gemseo_mlearning.adaptive.criteria.expectation.criterion.Expectation(algo_distribution, **options)[source]

Bases: MLDataAcquisitionCriterion

Expectation of the regression model.”.

This criterion is scaled by the output range.

Initialize self. See help(type(self)) for accurate signature.

Parameters:
  • algo_distribution (MLRegressorDistribution) – The distribution of a machine learning algorithm.

  • **options (MLDataAcquisitionCriterionOptionType) – The acquisition criterion options.

algo_distribution: MLRegressorDistribution

The distribution of a machine learning algorithm assessor.

force_real: bool

Whether to cast the results to real value.

has_default_name: bool

Whether the name has been set with a default value.

last_eval: OutputType | None

The value of the function output at the last evaluation.

None if it has not yet been evaluated.

output_range: float

The output range.

special_repr: str

The string representation of the function overloading its default string ones.