create_grid: Create a grid of values for tuning tskrr
Description
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.
Usage
create_grid(lim = c(1e-04, 10000), ngrid = 10)
Arguments
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.
Value
a numeric vector with values evenly spaced on a
logarithmic scale.
Details
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: