Description Usage Arguments Value See Also Examples
Returns the mean absolute error for a set of predictions. Note: Predictions should be annualized (independent of exposure) Note: Low is good
1 | metric_mae(actual, predicted, weight = NULL, na.rm = FALSE, rebase = FALSE)
|
actual |
Array[Numeric] - Values we are aiming to predict. |
predicted |
Array[Numeric] - Values that we have predicted. |
weight |
Optional: Array[Numeric] - Weighting of predictions. If NULL even weighting is used |
na.rm |
Optional: boolean - If |
rebase |
Optional: boolean - If |
family |
can be NULL has this metric doesn't depend on family |
Numeric: value of mean absolute error
Other Metrics:
metric_deviance()
,
metric_nloglik()
,
metric_pode()
,
metric_pove()
,
metric_rmse()
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.