recbole.trainer.hyper_tuning¶
-
class
recbole.trainer.hyper_tuning.
HyperTuning
(objective_function, space=None, params_file=None, fixed_config_file_list=None, algo='exhaustive', max_evals=100)[source]¶ Bases:
object
HyperTuning Class is used to manage the parameter tuning process of recommender system models. Given objective funciton, parameters range and optimization algorithm, using HyperTuning can find the best result among these parameters
Note
HyperTuning is based on the hyperopt (https://github.com/hyperopt/hyperopt)
Thanks to sbrodeur for the exhaustive search code. https://github.com/hyperopt/hyperopt/issues/200
-
export_result
(output_file=None)[source]¶ Write the searched parameters and corresponding results to the file
- Parameters
output_file (str) – the output file
-