dal_tune: DAL Tune (base for hyperparameter search)
Description
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.
Usage
dal_tune(base_model, folds = 10, ranges)
Value
returns a dal_tune object
Arguments
base_model
base model for tuning
folds
number of folds for cross-validation
ranges
a list of hyperparameter ranges to explore
Details
Ranges are expanded via expand.grid, and selection is delegated to select_hyper() which can be
overridden by subclasses to implement custom criteria.