create_grid: Creates a grid that can be filled in using the function...

Description Usage Arguments Value See Also

View source: R/create_grid.R

Description

create_grid creates a grid that can be filled in using the function grid_search. It is kept separate from the grid_search functions so that the user can create a different grid if they choose.

Usage

1
create_grid(x, y, method)

Arguments

x

Matrix or data frame containing the dependent variables..

y

Vector of responses. Can either be a factor or a numeric vector.

method

Model to be fit. Choices are "ada" for adaboost, "en" for elastic net, "gbm" for gradient boosting machines, and "svm" for support vector machines.

Value

Returns a dataset that forms the grid for the search. It contains the data frame has a column for each of the tuning parameters and a column for the Accuracy/MSE, AUC/MAE, and one for the time in seconds.

See Also

grid_search


jillbo1000/EZtuneTest documentation built on Oct. 5, 2021, 4:16 p.m.