oracle
performs a strategie that cannot be defined online
(in contrast to mixture). It requires in advance the knowledge of the whole
data set Y
and the expert advice to be well defined.
Examples of oracles are the best fixed expert, the best fixed convex
combination rule, the best linear combination rule, or the best expert
that can shift a few times.Plot an aggregation procedure
oracle(Y, experts, model = "convex", loss.type = "square", awake = NULL, lambda = NULL, niter = NULL, ...)
"plot"(x, sort = TRUE, col = NULL, ...)
Y
. It has as many columns as there are experts.name
specifying the oracle and any additional parameter needed.
Currently available oracles are:
[0,1]
.
Possible if some experts are specialists and do not always form and suggest
prediction. If the expert number k
at instance t
does not
form any prediction of observation Y_t
, we can put
awake[t,k]=0
so that the mixture does not consider expert k
in
the mixture to predict Y_t
.optim
function is order to perform convex optimization
(see parameter niter
).oracle
.oracle
: plot
. It has one optional arguments.