Description Usage Arguments Value Author(s) Examples
Model building flow around the traditional LASSO model.
1 | build_lasso(y, x, h=12, lambda=1, seed=1010, nfolds=10, type.measure="mae")
|
y |
Target series to forecast as data frame or matrix. |
x |
Explanatory variable set to choose and select from, as data frama or matrix. Each column represent an individual variable. |
h |
horizons to forecast |
lambda |
lambda to select for internal optimisation |
seed |
seed to use for internal optimisation |
nfolds |
nfold to use for internal optimisation |
type.measure |
type of measure to use for internal optimisation |
This function returns a list with model details specified.
Yves R. Sagaert, yves.sagaert@vives.be
1 | # build_lasso(y,x,h=1:12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.