Logging and Debugging

Learn how to understand what's going on with your code (logging) and how to investigate problems in it (debugging).

Overview

In this lesson, we discuss logging and debugging in machine learning applications. Logging always goes toe to toe with debugging because both are essential parts of troubleshooting.

Logging helps us understand what’s going on with our program after it has launched. We can investigate logs either during the application run or retrospectively after the problem is already captured.

Debugging is a set of techniques that helps us effectively detect, localize, and fix troubles that have occurred in our code.

Get hands-on with 1400+ tech skills courses.