Grid {MachineShop}R Documentation

Tuning Grid Control

Description

Defines control parameters for a tuning grid.

Usage

Grid(size = 3, random = FALSE, length = NULL)

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 to use in constructing the grid.

random

number of unique grid points to sample at random, Inf for all random points, or FALSE for all fixed points.

length

deprecated argument; use size instead.

Details

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.

Value

Grid class object.

See Also

TunedModel, expand_modelgrid

Examples

TunedModel(GBMModel, grid = Grid(10, random = 5))


[Package MachineShop version 2.8.0 Index]