arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.11934cs.SEcs.LG
收藏

Pynblint:一个Python的静态分析器

Pynblint: a Static Analyzer for Python Jupyter Notebooks

University of Bari(巴里大学)

Luigi Quaranta, Fabio Calefato, Filippo Lanubile

摘要:

Xuyter Notebook是许多数据科学家在ML工作流早期阶段的首选工具。然而,notebook格式被批评为导致不良的编程实践;事实上,研究人员已经表明,开源存储库被质量差的notebook淹没。ML工作流原型阶段的低质量输出构成了ML模型产品化的明显瓶颈。为了促进更好的笔记本的创建,我们开发了Pynblint,这是一个用Python编写的用于笔记本的静态分析器。该工具检查笔记本电脑(和周围的存储库)与一组经验验证的最佳实践的合规性,并在检测到违规时提供有针对性的建议。

英文摘要:

Jupyter Notebook is the tool of choice of many data scientists in the early stages of ML workflows. The notebook format, however, has been criticized for inducing bad programming practices; indeed, researchers have already shown that open-source repositories are inundated by poor-quality notebooks. Low-quality output from the prototypical stages of ML workflows constitutes a clear bottleneck towards the productization of ML models. To foster the creation of better notebooks, we developed Pynblint, a static analyzer for Jupyter notebooks written in Python. The tool checks the compliance of notebooks (and surrounding repositories) with a set of empirically validated best practices and provides targeted recommendations when violations are detected.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑