MEDAE {measures} | R Documentation |
Defined as: median(abs(response - truth)).
MEDAE(truth, response)
truth |
[numeric] vector of true values |
response |
[numeric] vector of predicted values |
n = 20
set.seed(123)
truth = rnorm(n)
response = rnorm(n)
MEDAE(truth, response)