merge_quantile_metrics#

openstef_beam.evaluation.models.subset.merge_quantile_metrics(metrics_list: list[dict[Quantile | Literal['global'], dict[str, Annotated[float, BeforeValidator(func=_convert_none_to_nan, json_schema_input_type=PydanticUndefined)]]]]) dict[Quantile | Literal['global'], dict[str, Annotated[float, BeforeValidator(func=_convert_none_to_nan, json_schema_input_type=PydanticUndefined)]]][source]#

Merge multiple quantile metrics dictionaries into a single one.

Parameters:
Returns:

Combined dictionary with all metrics from input dictionaries.

Return type:

dict[Union[Quantile, Literal['global']], dict[str, float]]