A simplistic weight function for local regression. This probably won't be around for long...
1 | simple_weight_function(d, dt, h = 1, k = 1)
|
d |
trajectory distance |
dt |
time distance |
h |
gaussian kernel bandwidth |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.