ENH Moved the update_progress() function from learning.learning module to the utils module since it can be more widely used.
PEP8 Added double line spaces for top-level classes, functions, ...