从极少数据中学习:关于景观分析在预测软件项目健康中的价值
Learning from Very Little Data: On the Value of Landscape Analysis for Predicting Software Project Health
AI总结:
针对小数据下软件项目健康预测误差大的问题,提出基于景观分析的niSNEAK工具,通过聚类与代表探索优化超参数,显著降低预测错误。
摘要:
当数据稀缺时,软件分析可能会犯很多错误。例如,考虑为开源项目健康学习预测器(如十二个月内关闭的拉取请求数量)。此任务的训练数据可能非常少(例如,五年数据,每月收集一次,仅意味着60行训练数据)。从如此小的数据集生成的模型可能会产生许多预测错误。这些错误可以通过选择更好的学习器控制参数的景观分析来驯服。我们的niSNEAK工具(a)对数据进行聚类以找到超参数的一般景观;然后(b)探索该景观每个部分中的几个代表。niSNEAK比先前最先进的超参数优化算法(如FLASH、HYPEROPT、OPTUNA)更快且更有效。niSNEAK找到的配置比其他方法的错误少得多。例如,对于项目健康指标,如$C$=提交次数;$I$=关闭的问题数,以及$R$=关闭的拉取请求数,niSNEAK的12个月预测错误为{I=0%, R=33%, C=47%}。基于上述,我们推荐景观分析(如niSNEAK),特别是在从非常小的数据集学习时。本文仅探讨了niSNEAK在项目健康中的应用。尽管如此,我们认为原则上没有阻止将该技术应用于更广泛问题范围的东西。为了帮助其他研究人员重复、改进甚至反驳我们的结果,我们所有的脚本和数据都在GitHub上可用,网址为https://github.com/zxcv123456qwe/niSneak。
英文摘要:
When data is scarce, software analytics can make many mistakes. For example, consider learning predictors for open source project health (e.g. the number of closed pull requests in twelve months time). The training data for this task may be very small (e.g. five years of data, collected every month means just 60 rows of training data). The models generated from such tiny data sets can make many prediction errors. Those errors can be tamed by a {\em landscape analysis} that selects better learner control parameters. Our niSNEAK tool (a)~clusters the data to find the general landscape of the hyperparameters; then (b)~explores a few representatives from each part of that landscape. niSNEAK is both faster and more effective than prior state-of-the-art hyperparameter optimization algorithms (e.g. FLASH, HYPEROPT, OPTUNA). The configurations found by niSNEAK have far less error than other methods. For example, for project health indicators such as $C$= number of commits; $I$=number of closed issues, and $R$=number of closed pull requests, niSNEAK's 12 month prediction errors are \{I=0\%, R=33\%\,C=47\%\} Based on the above, we recommend landscape analytics (e.g. niSNEAK) especially when learning from very small data sets. This paper only explores the application of niSNEAK to project health. That said, we see nothing in principle that prevents the application of this technique to a wider range of problems. To assist other researchers in repeating, improving, or even refuting our results, all our scripts and data are available on GitHub at https://github.com/zxcv123456qwe/niSneak
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。