Grid {MachineShop} | R Documentation |
Defines control parameters for a tuning grid.
Grid(size = 3, random = FALSE, length = NULL)
size |
single integer or vector of integers whose positions or names match the parameters in a model's tuning grid and which specify the number of values to use in constructing the grid. |
random |
number of unique grid points to sample at random, |
length |
deprecated argument; use |
Returned Grid
objects may be supplied to TunedModel
for
automated construction of model tuning grids. These grids can be extracted
manually and viewed with the expand_modelgrid
function.
Grid
class object.
TunedModel(GBMModel, grid = Grid(10, random = 5))