jupyter生成目录
Automatically generating reports is useful in a wide range of scenarios, from regularly sharing data within a company or the public, or for personal use, such as comparing the performance of different models side by side without having to manually run a Jupyter Notebook ’n’ number of times.
自动生成报告在各种情况下都很有用,从定期在公司或公众内部共享数据,或者供个人使用,例如并排比较不同型号的性能而无需手动运行Jupyter Notebook'n'次数。
In my most recent project, I wanted to be able to train several models and then calculate a set of metrics and draw result exploration plots for each. I started by building a notebook with a menu at the top which would allow me to select one of the models I had run, and then execute all the cells in the notebook to explore the results. Although it worked, this quickly became boring to do manually, so I explored how one could programmatically run Jupyter Notebooks and export HTML versions of it, which took me to the following solution.
在我最近的项目中,我希望能够训练几个模型,然后计算一组指标并为每个模型绘制结果探索图。 我首先构建了一个笔记本,该笔记本的顶部带有一个菜单,该菜单使我可以选择自己运行的模型之一,然后执行笔记本中的所有单元以探索结果。 尽管有效,但手动操作很快变得很无聊,因此我探索了如何以编程方式运行Jupyter Notebooks并导出它HTML版本,这使我进入了以下解决方案。
For this to work, you will need a template notebook where only one or two values need to be changed before execution. For this example, I am going to use this simple notebook that explores the normal distribution for different mean and standard d