misc¶
In this module, several miscellaneous functions are defined for using in other modules. Such as date time formatting and customized progress bar
Functions
progress_bar_gs (iteration, total, e_time, …) |
A customized progress bar for grid search Input: iteration: currrent iteration total: total iteration e_time: Elapsed time accuracy: Current accuracy and its std (Tuple) best_acc: Best accuracy and its std (Tuple) prefix: prefix string suffix: suffix string decimals: number of decimals in percent length: character length of bar fill: bar fill character |
time_fmt (t_delta) |
It convets datetime objects to formatted string |
-
misc.
progress_bar_gs
(iteration, total, e_time, accuracy, best_acc, prefix='', suffix='', decimals=1, length=25, fill='#')[source]¶ A customized progress bar for grid search Input:
iteration: currrent iteration total: total iteration e_time: Elapsed time accuracy: Current accuracy and its std (Tuple) best_acc: Best accuracy and its std (Tuple) prefix: prefix string suffix: suffix string decimals: number of decimals in percent length: character length of bar fill: bar fill character