Measure to compare true observed response with predicted response in regression tasks.
Note that this is an unaggregated measure, returning the losses per observation.
ape(truth, response, ...)
Performance value as numeric(length(truth))
.
Type: "regr"
Range (per observation): \([0, \infty)\)
Minimize (per observation): TRUE
Required prediction: response
Calculates the per-observation absolute percentage error as $$ \left| \frac{ t_i - r_i}{t_i} \right|. $$
Other Regression Measures:
ae()
,
bias()
,
ktau()
,
linex()
,
mae()
,
mape()
,
maxae()
,
maxse()
,
medae()
,
medse()
,
mse()
,
msle()
,
pbias()
,
pinball()
,
rae()
,
rmse()
,
rmsle()
,
rrse()
,
rse()
,
rsq()
,
sae()
,
se()
,
sle()
,
smape()
,
srho()
,
sse()