train_l2_relax | R Documentation |
Do parameter tuning for L2-Relaxation
train_l2_relax(
y,
x,
m = 5,
tau.seq = NULL,
ntau = 100,
tau.min.ratio = 0.01,
train_method = "oos",
solver = "Rmosek",
tol = 1e-05
)
y |
foreccasting target |
x |
forecasts to be combined |
m |
number of folds |
tau.seq |
Sequence of tau values |
ntau |
number of tau values |
tau.min.ratio |
ratio of the minimum tau in tau.seq over the maximum (which is the smallest tau such that equal-weight solves the forecast combination optimization.) |
train_method |
"cv_random", "cv" or "oos" |
solver |
"Rmosek" or "CVXR" |
besttune
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.