RegressionMetrics.MeanAbsoluteError Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the absolute loss of the model.
public double MeanAbsoluteError { get; }
member this.MeanAbsoluteError : double
Public ReadOnly Property MeanAbsoluteError As Double
Property Value
Remarks
The absolute loss is defined as $L1 = \frac{1}{m} \sum_{i = 1}^m | y_i - \hat{y}_i |$, where $m$ is the number of instances in the test set, $\hat{y}_i$ are the predicted labels for each instance, and $y_i$ are the correct labels of each instance.
L1 loss is a non-negative, decreasing metric. Smaller values indicate a better model with respect to this metric.