arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1904.06163cs.SE
收藏

数据分析脚本指南

Guidelines for data analysis scripts

Marijn van Vliet

摘要:

随着数据分析管道变得越来越长、越来越复杂,无组织的分析代码堆是一个越来越大的负担。这令人担忧,因为神经科学论文由于程序员错误而被撤回。在本文中,提出了一些指导方针,以帮助保持分析代码组织良好,易于理解和方便的工作:1。每个分析步骤都是一个脚本2。脚本要么处理单个记录,要么聚合多个记录,而不是同时处理这两个记录3.一个主脚本运行整个分析4.保存所有中间结果5.可视化所有中间结果6.每个参数和文件名只定义一次7.除了讨论每个准则背后的推理之外,还提供了一个示例分析管道作为案例研究,以了解每个准则如何转换为代码。

英文摘要:

Unorganized heaps of analysis code are a growing liability as data analysis pipelines are getting longer and more complicated. This is worrying, as neuroscience papers are getting retracted due to programmer error. In this paper, some guidelines are presented that help keep analysis code well organized, easy to understand and convenient to work with: 1. Each analysis step is one script 2. A script either processes a single recording, or aggregates across recordings, never both 3. One master script to run the entire analysis 4. Save all intermediate results 5. Visualize all intermediate results 6. Each parameter and filename is defined only once 7. Distinguish files that are part of the official pipeline from other scripts In addition to discussing the reasoning behind each guideline, an example analysis pipeline is presented as a case study to see how each guideline translates into code.

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

↑