SAE {measures} | R Documentation |
Defined as: sum(abs(response - truth))"
SAE(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)
SAE(truth, response)