Learn R Programming

MachineShop (version 2.0.0)

Grid: Tuning Grid Control

Description

Defines control parameters for a tuning grid.

Usage

Grid(length = 3, random = FALSE)

Arguments

length

number of values to be generated for each model parameter in the tuning grid.

random

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

Value

Grid class object.

See Also

TunedModel

Examples

Run this code
# NOT RUN {
TunedModel(GBMModel, grid = Grid(10, random = 5))

# }

Run the code above in your browser using DataLab