carpentries-incubator / deep-learning-intro

Learn Deep Learning with Python
https://carpentries-incubator.github.io/deep-learning-intro/
Other
30 stars 37 forks source link

Make plot_history() functional by passing it History object #370

Closed svenvanderburg closed 11 months ago

svenvanderburg commented 11 months ago

Currently the plot_history() function in episode 3 and 4 uses the history object that is defined somewhere in the notebook. It is much more explicit (and prevents mistakes by learners) to actually pass the history as an argument to the function.