文档重要性:以人为中心的AI系统,以帮助计算笔记本中的数据科学代码文档
Documentation Matters: Human-Centered AI System to Assist Data Science Code Documentation in Computational Notebooks
摘要:
计算笔记本允许数据科学家通过代码和文档的组合来表达他们的想法。然而,数据科学家通常只关注代码,而忽略了在快速迭代过程中创建或更新文档。受来自80个高投票Kaggle笔记本的人类文档实践的启发,我们设计并实现了Themisto,这是一个自动文档生成系统,旨在探索以人为中心的AI系统如何在机器学习代码文档场景中支持人类数据科学家。Themisto通过三种方法来促进文档的创建:基于深度学习的方法来生成源代码文档,基于查询的方法来检索源代码的在线API文档,以及用户提示方法来推动用户编写文档。我们在一项有24名数据科学从业者参与的受试者内实验中对Themisto进行了评估,发现自动文档生成技术减少了编写文档的时间,提醒参与者记录他们可能忽略的代码,并提高了参与者对计算笔记本的满意度。
英文摘要:
Computational notebooks allow data scientists to express their ideas through a combination of code and documentation. However, data scientists often pay attention only to the code, and neglect creating or updating their documentation during quick iterations. Inspired by human documentation practices learned from 80 highly-voted Kaggle notebooks, we design and implement Themisto, an automated documentation generation system to explore how human-centered AI systems can support human data scientists in the machine learning code documentation scenario. Themisto facilitates the creation of documentation via three approaches: a deep-learning-based approach to generate documentation for source code, a query-based approach to retrieve online API documentation for source code, and a user prompt approach to nudge users to write documentation. We evaluated Themisto in a within-subjects experiment with 24 data science practitioners, and found that automated documentation generation techniques reduced the time for writing documentation, reminded participants to document code they would have ignored, and improved participants' satisfaction with their computational notebook.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。