Description Usage Arguments Details Value See Also Examples
This function creates a grid of values for
tuning a tskrr model. The grid is equally spaced on
a logarithmic scale. Normally it's not needed to call this method
directly, it's usually called from tune.
1 | create_grid(lim = c(1e-04, 10000), ngrid = 10)
|
lim |
a numeric vector with 2 values giving the lower and upper limit for the grid. |
ngrid |
the number of values that have to be produced. If this number is not integer, it is truncated. The value should be 2 or larger. |
The lim argument sets the boundaries of the domain in which
the lambdas are sought. The lambda values at which the function is
evaluated, are calculated as:
exp(seq(log(1e-4), log(1e4), length.out = ngrid))
a numeric vector with values evenly spaced on a logarithmic scale.
tune for tuning a tskrr model.
1 | create_grid(lim = c(1e-4, 1), ngrid = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.