MEDAE {measures} | R Documentation |
Median of absolute errors
Description
Defined as: median(abs(response - truth)).
Usage
MEDAE(truth, response)
Arguments
truth |
[numeric] vector of true values |
response |
[numeric] vector of predicted values |
Examples
n = 20
set.seed(123)
truth = rnorm(n)
response = rnorm(n)
MEDAE(truth, response)
[Package measures version 0.3 Index]