jupyter生成目录_全栈数据科学家5使用jupyter笔记本自动生成报告

本文翻译自《Full Stack Data Scientist 5: Automating Report Generation with Jupyter Notebooks》,介绍如何在jupyter笔记本中创建目录,以方便生成专业报告。
摘要由CSDN通过智能技术生成

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值