View source: R/initialize_params.R
initialize_params_naive | R Documentation |
Use this function to generate a parameter grid (matrix) that can be provided
to the param_grid
argument of tulip()
. The model estimation then
reduces to evaluating all provided combinations and choosing the best one.
See Details for more. Note that there is nothing special about the matrix
generated by this function—you can define a set of possible parameters in
any way that suits you.
initialize_params_naive()
A numeric matrix with six named columns: 'alpha', 'one_minus_alpha',
'beta', 'one_minus_beta', 'gamma', 'one_minus_gamma'. The alpha
paramaters belong to the model's level component, the beta
parameters
to the model's trend component, and the gamma
parameters to the model's
seasonality component. Each pair usually adds up to 1, however dampening
effectively reduces the sum of beta
and one_minus_beta
to less than
1. As per assertions on tulip()
's param_grid
, each row must
sum up to a value between 0 and 3, the columns must be named and in
order, and each individual value must be between 0 and 1.
tulip()
, initialize_params_random()
,
initialize_params_grid()
initialize_params_naive()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.