| dal_tune | R Documentation |
Base class for hyperparameter optimization that stores a base model, a fold count, and a parameter grid. Specializations (classification/regression/clustering) implement the evaluation logic.
dal_tune(base_model, folds = 10, ranges)
base_model |
base model for tuning |
folds |
number of folds for cross-validation |
ranges |
a list of hyperparameter ranges to explore |
Ranges are expanded via expand.grid, and selection is delegated to select_hyper() which can be
overridden by subclasses to implement custom criteria.
returns a dal_tune object
#See ?cla_tune for classification tuning
#See ?reg_tune for regression tuning
#See ?ts_tune for time series tuning
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.