utils

Callbacks

class autotab.utils.Callbacks[source]

callbacks to be executed.

on_build_end(model, **model_kwargs) None[source]

called at the end build method of parent and loop

on_cross_val_begin(model, iter_num=None, x=None, y=None, validation_data=None) None[source]

called at the start of cross validation.

on_cross_val_end(model, iter_num=None, x=None, y=None, validation_data=None) None[source]

called at the end of cross validation.

on_eval_begin(model, iter_num=None, x=None, y=None, validation_data=None) None[source]

called before evaluate method of parent loop

on_eval_end(model, iter_num=None, x=None, y=None, validation_data=None) None[source]

called at the end evaluate method of parent loop

on_fit_begin(x=None, y=None, validation_data=None) None[source]

called before fit method of parent loop. This callback does not run when cross validation is used. For that consider using on_cross_val_begin.

on_fit_end(x=None, y=None, validation_data=None) None[source]

called at the end fit method of parent loop. This callback does not run when cross validation is used. For that consider using on_cross_val_end.

on_fit_end(x=None, y=None, validation_data=None) None[source]

called at the end fit method of parent loop. This callback does not run when cross validation is used. For that consider using on_cross_val_end.