tune_grid | R Documentation |
Returns the parameter grid used to tune a model.
tune_grid(obj, x, y, len)
obj |
The model object. |
x |
The training data. |
y |
The response vector. |
len |
The number of elements in the tuning grid. |
A data frame of tuning parameter combinations.
ds <- gen_sample_dataset(D = c(5, 5, 5), nobs = 10)
mdl <- load_model("sda_notune")
tune_grid(mdl, ds$dataset$train_data, ds$design$y_train, len = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.