Learning from Very Little Data: On the Value of Landscape Analysis for Predicting Software Project Health

Author:

Lustosa Andre1,Menzies Tim1

Affiliation:

1. North Carolina State University, USA

Abstract

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 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%} while other methods have far larger errors of {I=61%,R=119% C=149%}. We conjecture that niSNEAK works so well since it finds the most informative regions of the hyperparameters, then jumps to those regions. Other methods (that do not reflect over the landscape) can waste time exploring less informative options. 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.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference74 articles.

1. How to “dodge” complex software analytics;Agrawal Amritanshu;IEEE Transactions on Software Engineering,2019

2. Amritanshu Agrawal and Tim Menzies . 2018 . Is” Better Data” Better Than” Better Data Miners”? . In 2018 IEEE/ACM 40th International Conference on Software Engineering (ICSE). IEEE, 1050–1061 . Amritanshu Agrawal and Tim Menzies. 2018. Is” Better Data” Better Than” Better Data Miners”?. In 2018 IEEE/ACM 40th International Conference on Software Engineering (ICSE). IEEE, 1050–1061.

3. Better software analytics via “DUO”: Data mining algorithms using/used-by optimizers

4. Amritanshu Agrawal , Xueqi Yang , Rishabh Agrawal , Rahul Yedida , Xipeng Shen , and Tim Menzies . 2021. Simpler hyperparameter optimization for software analytics: why, how, when . IEEE Transactions on Software Engineering( 2021 ). Amritanshu Agrawal, Xueqi Yang, Rishabh Agrawal, Rahul Yedida, Xipeng Shen, and Tim Menzies. 2021. Simpler hyperparameter optimization for software analytics: why, how, when. IEEE Transactions on Software Engineering(2021).

5. Optuna

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3