Description Usage Arguments Value Author(s) Examples
mtr_mean_absolute_error
is a measure of difference between the
predicted value and the true value.
1 2 3 | mtr_mean_absolute_error(actual, predicted)
mtr_mae(actual, predicted)
|
actual |
|
predicted |
|
A numeric scalar output
An Chu
1 2 3 4 | act <- c(3, -0.5, 2, 7)
pred <- c(2.5, 0.0, 2, 8)
mtr_mean_absolute_error(act, pred)
mtr_mae(act, pred)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.