mean_absolute_error
[ allennlp.training.metrics.mean_absolute_error ]
MeanAbsoluteError Objects#
class MeanAbsoluteError(Metric):
| def __init__(self) -> None
This Metric
calculates the mean absolute error (MAE) between two tensors.
get_metric#
| def get_metric(self, reset: bool = False)
Returns
- The accumulated mean absolute error.
reset#
| @overrides
| def reset(self)