August 2019
Beginner
482 pages
12h 56m
English
Now, let's say that we want to keep track of the metrics for each consecutive iteration of the code, using a specific dataset. There is no simple way to do that with a Jupyter Notebook (this could be done using a papermill package: https://github.com/nteract/papermill ), so we copied the code from the notebook and stored it in the script, predict_result.py. This takes data and writes down accuracy and model settings to the metrics.json file.
With that (and the script itself ...