- resampler_config
Optional ResamplerConfig: Resampling configuration
from a setup_* resampler function, e.g. setup_KFold.
- 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 * N of total combinations
- randomize_p
Optional Numeric (0, 1): Randomly test this proportion of
combinations. Required when search_type is "randomized"; must be left
NULL when it is "exhaustive".
- 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 metric, otherwise
minimize it. NULL maximizes accuracy, balanced_accuracy, sensitivity,
specificity, ppv, npv, f1, auc, rsq and Concordance, and
minimizes every other metric, including mae, mse, rmse and
brier_score.