Skip to main content

Table of Contents

RegressionMetrics Objects

class RegressionMetrics()

add

 | add(predictions: List[float], targets: List[float])

Function adds predictions and targets computation of regression metrics.

Arguments:

predictions (List[float]): targets (List[float]):

Raises:

  • NotImplementedError - in case targets do not fall into continuous support
  • ValueError - incase missing validation or predictions

merge

 | merge(other)

Merge two seperate confusion matrix which may or may not overlap in labels.

Arguments:

other : regression metrics to merge with self

Returns:

  • RegressionMetrics - merged regression metrics

to_protobuf

 | to_protobuf()

Convert to protobuf

Returns:

  • TYPE - Protobuf Message
Prefooter Illustration Mobile
Run AI With Certainty
Get started for free
Prefooter Illustration