Description Usage Arguments Value Author(s)
The
function loss
computes the sequence of instantaneous losses suffered
by the predictions in x
to predict the observation in y
.
1 2 3 4 5 6 7 |
x |
|
y |
|
pred |
|
loss.type |
|
loss.gradient |
|
A vector of length T
containing the sequence of
instantaneous losses suffered by the expert previsions (x) or the gradient computed on the aggregated previsions (pred).
Pierre Gaillard <pierre@gaillard.me>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.