5 Creating progress bars and time-outs in Python

 

This chapter covers

  • How to create a progress bar to monitor code execution (such as time-consuming loops)
  • How to monitor the progress of training machine learning (ML) models
  • How to create a timer to auto-stop long-running code

5.1 Creating progress bars and timing Python processes

5.2 Monitoring the progress of training ML models

5.2.1 Monitoring hyperparameter tuning

5.3 How to auto-stop long-running code

5.3.1 Set a time-out on a loop

5.3.2 Set a time-out on reading data from a database

5.3.3 Set a time-out on training a machine learning model

5.3.4 Using decorators

5.4 Practice on your own

5.5 Summary