Evaluations & Training

hyppo.train. train_evaluation ( x_sc , samples , trainer , model , dist , output = 'out' , data = {} , uq = {} , ** kwargs ) [source]

Execute training according to requested trainer mode. This function looks at the trainer mode requested in the configuration file and initiate the training accordingly.

Parameters :
x_sc dict

Random hyperparameter set. Each key corresponds to the hyperparameter names and the corresponding value to the randomly selected sample value.

samples numpy.ndarray

Random hyperparameter integer values for single target evaluation.

trainer str

Trainer mode to be used.

model dict

Model setting extracted from the YAML configuration file.

output str

Directory name to save output training results.

data dict

Data setting extracted from the YAML configuration file (empty by default).

uq dict

Uncertainty quantification parameter setting extracted from the YAML configuration file (empty by default).

Returns :
res float

Output of objective function.