Class MAE
Mean Absolute Error (MAE) is a quantity used to measure how close forecasts or predictions are to the eventual outcomes
Inherited Members
Namespace: SiaNet.Metrics
Assembly: SiaNet.dll
Syntax
public class MAE : BaseMetric
Constructors
| Improve this Doc View SourceMAE()
Initializes a new instance of the MAE class.
Declaration
public MAE()
Methods
| Improve this Doc View SourceCalc(Tensor, Tensor)
Calculates the metric with predicted and true values.
Declaration
public override Tensor Calc(Tensor preds, Tensor labels)
Parameters
| Type | Name | Description |
|---|---|---|
| Tensor | preds | The predicted value. |
| Tensor | labels | The true value. |
Returns
| Type | Description |
|---|---|
| Tensor |