TuningGrid | R Documentation |
Defines control parameters for a tuning grid.
TuningGrid(size = 3, random = FALSE)
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 |
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.
TuningGrid
class object.
TunedModel
, expand_modelgrid
TunedModel(XGBTreeModel, grid = TuningGrid(10, random = 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.