Learn Before
Code

The ProgressBoard Utility Class

To monitor the training process of a model, the ProgressBoard utility class allows for plotting experiment progress interactively while it is ongoing. Serving as a lightweight alternative to more complex tools like TensorBoard, it uses a draw method to plot (x,y)(x, y) data points dynamically. It also includes an option to smooth the plotted lines by displaying only 1/n1/n points, where the values are averaged from the nn neighbor points in the original data. This enables clear, animated visualizations of metrics such as loss and accuracy directly within a notebook.

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L