TuningGrid {MachineShop} | R Documentation |
Tuning Grid Control
Description
Defines control parameters for a tuning grid.
Usage
TuningGrid(size = 3, random = FALSE)
Arguments
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 used to construct the grid. |
random |
number of unique points to sample at random from the grid
defined by |
Details
Returned TuningGrid
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.
Value
TuningGrid
class object.
See Also
Examples
TunedModel(XGBTreeModel, grid = TuningGrid(10, random = 5))
[Package MachineShop version 3.7.0 Index]