mean_metric module¶
A mean metric.
A mean metric applies the mean operator on the result
returned by ElementWiseMetric.compute()
.
- class gemseo.utils.metrics.mean_metric.MeanMetric(metric)[source]
Bases:
BaseCompositeMetric
[_InputT
,ndarray
[Any
,dtype
[number
]]]The mean of an element-wise metric.
Initialize self. See help(type(self)) for accurate signature.
- Parameters:
metric (BaseCompositeMetric[Any, Any]) – The metric applied at element level.