gemseo_mlearning / adaptive / criteria / distances

Show inherited members

criterion_min module

Minimum distance between a point and the learning dataset.

class gemseo_mlearning.adaptive.criteria.distances.criterion_min.MinimumDistance(algo_distribution, **options)[source]

Bases: MLDataAcquisitionCriterion

Minimum distance to the learning dataset.

This infill criterion computes the minimum distance between a new point and the point of the learning dataset, scaled by the maximum distance between two learning points.

# noqa: D205 D212 D415

  • 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.