whylogs.core.model_performance_metrics.regression_metrics
#
Module Contents#
Classes#
- class whylogs.core.model_performance_metrics.regression_metrics.RegressionMetrics#
- add(predictions: List[float], targets: List[float])#
Function adds predictions and targets computation of regression metrics.
- mean_absolute_error()#
- mean_squared_error()#
- root_mean_squared_error()#
- merge(other)#
Merge two seperate regression metrics.
- Parameters
other – regression metrics to merge with self
- Returns
merged regression metrics
- Return type
- to_protobuf()#
Convert to protobuf
- Returns
Protobuf Message
- Return type
TYPE
- classmethod from_protobuf(message: whylogs.core.proto.v0.RegressionMetricsMessage)#
- Parameters
message (whylogs.core.proto.v0.RegressionMetricsMessage) –