Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Grid

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

Examples

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

MachineShop

Machine Learning Models and Tools

v2.8.0
GPL-3
Authors
Brian J Smith [aut, cre]
Initial release
2021-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.