objective_base
Objective function for all training based hyperparameter optimizations.
- class ObjectiveBase(params, data_handler)[source]
Bases:
object
Represents the objective function of a training process.
This is usually the result of a training of a network.
- Parameters:
params (mala.common.parametes.Parameters) – Parameters used to create this objective.
data_handler (mala.datahandling.data_handler.DataHandler) – datahandler to be used during the hyperparameter optimization.
- parse_trial(trial)[source]
Parse a trial into a network architecture.
- Parameters:
trial – A trial is a set of hyperparameters; can be an optuna based trial or simply a OAT compatible list.