gemseo_calibration / measures

Show inherited members

mae module

Compute the mean absolute error between the model and reference output data.

class gemseo_calibration.measures.mae.MAE(output_name, name='', f_type=FunctionType.NONE)[source]

Bases: MeanMeasure

The mean absolute error between the model and reference output data.

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

Parameters:
  • output_name (str) – The name of the output to be taken into account by the measure.

  • name (str) –

    The name of the function.

    By default it is set to “”.

  • f_type (MDOFunction.FunctionType) –

    The type of the function.

    By default it is set to “”.

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_name: str

The name of the output used by the measure for calibration.

special_repr: str

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