PHANTOM:使用时间序列聚类为工程软件项目策划GitHub
PHANTOM: Curating GitHub for engineered software projects using time-series clustering
摘要:
内容:在采矿软件库领域,有许多方法用于过滤数据集,以避免分析低质量的项目。不幸的是,现有的过滤方法并没有跟上现有数据源的增长,例如GitHub,研究人员经常依赖快速而肮脏的技术来管理数据集。目的:本研究的目的是开发一种能够以资源有效的方式过滤大量软件项目的方法。方法:本研究遵循设计科学研究(DSR)方法。所提出的方法PHANTOM从Git日志中提取了五个度量。每个测量被转换成一个时间序列,这是表示为使用k-means算法聚类的特征向量。结果如下:使用之前研究中的基础事实,PHANTOM被证明能够重新发现训练数据集上的基础事实,并且能够在验证数据集上以高达0.87的精度和0.94的召回率识别“工程”项目。PHANTOM使用一台个人计算机在21.5天内下载并处理了1,786,601个GitHub存储库的元数据,比之前使用200个节点的计算机集群的速度快33%以上。通过管理两家公司拥有的100个存储库,研究了在开源社区之外应用该方法的可能性。结论:可以使用无监督的方法来识别工程项目。与现有的监督方法相比,PHANTOM具有竞争力,同时将硬件要求降低了两个数量级。
英文摘要:
Context: Within the field of Mining Software Repositories, there are numerous methods employed to filter datasets in order to avoid analysing low-quality projects. Unfortunately, the existing filtering methods have not kept up with the growth of existing data sources, such as GitHub, and researchers often rely on quick and dirty techniques to curate datasets. Objective: The objective of this study is to develop a method capable of filtering large quantities of software projects in a resource-efficient way. Method: This study follows the Design Science Research (DSR) methodology. The proposed method, PHANTOM, extracts five measures from Git logs. Each measure is transformed into a time-series, which is represented as a feature vector for clustering using the k-means algorithm. Results: Using the ground truth from a previous study, PHANTOM was shown to be able to rediscover the ground truth on the training dataset, and was able to identify "engineered" projects with up to 0.87 Precision and 0.94 Recall on the validation dataset. PHANTOM downloaded and processed the metadata of 1,786,601 GitHub repositories in 21.5 days using a single personal computer, which is over 33% faster than the previous study which used a computer cluster of 200 nodes. The possibility of applying the method outside of the open-source community was investigated by curating 100 repositories owned by two companies. Conclusions: It is possible to use an unsupervised approach to identify engineered projects. PHANTOM was shown to be competitive compared to the existing supervised approaches while reducing the hardware requirements by two orders of magnitude.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。