Description Usage Arguments Value See Also
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.
1 | create_grid(x, y, method)
|
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.