Plainbook:用通俗易懂的语言进行数据科学
Plainbook: Data Science, in Plain Language
AI总结:
为让更多不懂代码的科学家参与数据分析计算,提出Plainbook,以自然语言为中心,基于促进自然语言描述和验证值的原则,自动生成代码,采用线性执行语义并内置验证机制,由快照内核支持提升效率。
摘要:
Jupyter笔记本在数据科学中广泛应用,可共享可重现的计算分析,但仅对懂代码的人可用。为让更多对数据分析和计算感兴趣但不懂代码的科学家能使用,我们引入了Plainbook,即以自然语言而非代码为中心的笔记本。Plainbook基于两个原则:促进自然语言描述和验证值。它保留自然语言描述而非代码,代码从单元格描述自动生成。采用线性执行语义,保证单元格按出现顺序执行。还内置了以值和值检查为中心的验证机制,包括针对单个单元格和全局的机制。线性执行语义和验证机制都由缓存执行状态的快照内核支持,提高了执行和验证效率。
英文摘要:
Jupyter Notebooks have become widely adopted in data science, as they allow the sharing of reproducible computational analysis. They are, however, accessible only to people who understand computer code. To reach the broader audience of scientists interested in data analysis and computation, but unfamiliar with code, we introduce Plainbook, notebooks centered on natural language rather than code. Plainbook is based on two principles: promote the natural language descriptions, and verify the values. In plainbook, the natural language descriptions are preserved, rather than the resulting code; the code is generated automatically from the cell descriptions. As natural language is read top to bottom, Plainbook adopts a linear execution semantics, in which cells are guaranteed to be executed in the order in which they appear; there is no "hidden state" or out-of-order execution as in Jupyter. To allow users who may not understand code to verify the correctness of the computation, we have built into Plainbook verification mechanisms centered on values and value inspection. These include mechanisms that focus on individual cells, akin to unit tests, as well as global mechanisms. Both the linear execution semantics, and the verification mechanisms, are underpinned by a snapshot kernel that caches execution states and makes execution and verification efficient.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。