gemseo_umdo / estimators

Show inherited members

estimator module

Base estimator of statistic associated with a U-MDO formulation.

class gemseo_umdo.estimators.estimator.BaseStatisticEstimator(formulation)[source]

Bases: ABC

The base estimator of statistics associated with a U-MDO formulation.

Parameters:

formulation (UMDOFormulation) – The U-MDO formulation.

class gemseo_umdo.estimators.estimator.BaseStatisticEstimatorFactory[source]

Bases: BaseFactory

The factory of BaseStatisticEstimator.

Return type:

BaseFactory

create(name, formulation, **options)[source]

Create a statistic estimator.

Parameters:
  • name (str) – The class name of the statistic estimator.

  • formulation (UMDOFormulation) – The U-MDO formulation.

  • **options (Any) – The options of the statistic estimator.

Returns:

The instance of the class.

Raises:

TypeError – If the class cannot be instantiated.

Return type:

BaseStatisticEstimator

failed_imports: dict[str, str]

The class names bound to the import errors.