| setup_GridSearch | R Documentation |
Create a GridSearchConfig object that can be passed to train.
setup_GridSearch(
resampler_config = setup_KFold(n_resamples = 5L),
search_type = "exhaustive",
randomize_p = NULL,
metrics_aggregate_fn = "mean",
metric = NULL,
maximize = NULL
)
resampler_config |
Optional |
search_type |
Character {"exhaustive", "randomized"}: Type of
grid search to use. Exhaustive search will try all combinations of
config. Randomized will try a random sample of size
|
randomize_p |
Optional Numeric (0, 1): Randomly test this proportion of
combinations. Required when |
metrics_aggregate_fn |
Character: Name of function to use to aggregate error metrics. |
metric |
Optional Character: Metric to minimize or maximize. NULL sets it from the outcome type. |
maximize |
Optional Logical: If TRUE, maximize |
A GridSearchConfig object.
EDG
gridsearch_config <- setup_GridSearch(
resampler_config = setup_KFold(n_resamples = 5L),
search_type = "exhaustive"
)
gridsearch_config
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.