Create Hyperparameter Settings
Usage
createHyperparameterSettings(
search = "grid",
tuningMetric = aucMetric,
sampleSize = NULL,
randomSeed = NULL,
generator = NULL
)Arguments
- search
The type of hyperparameter search to perform. Options are "grid" for grid search, "random" for random search, and "custom" for a user-defined search strategy.
- tuningMetric
The metric to optimize during hyperparameter tuning. Common choices include
aucMetricandauprcMetric.- sampleSize
Sample size in case of random sampling
- randomSeed
Random seed for random sampling
- generator
Optional custom hyperparameter generator. This can be either a function with arguments
definition,expanded, andsettingsthat returns a finite list of named parameter lists, or an object with lifecycle methods. Lifecycle generator objects must provideinitialize(definition, settings)andgetNext(history)methods, and may provide an optionalfinalize(history)method.