Skip to content

Add penalties to hyperopt

Emanuele Roberto Nocera requested to merge add_penalties_hyperopt into master

Created by: scarlehoff

You can add functions that take the pdf_model and the stopping_object in hyper_optimization/penalties.py and then use them to apply penalties to your model. I've added two examples, one is a check over the saturation and the other checks that the patience is not too big (if it stopped too early, then the model is worse).

Merge request reports

Loading