Description Usage Arguments Value
Compute "mean" absolute error for one time point from prediction in the form of kernel weights and centers.
1 | mae_from_kernel_weights_and_centers(kernel_weights_and_centers, obs)
|
kernel_weights_and_centers |
a named list with two components: weights is a vector of kernel weights, and centers is a vector of kernel centers |
obs |
is a numeric with length 1 containign the observed value for one time point |
abs(obs - prediction) where prediction is the weighted mean of the kernel centers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.