arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.04389cs.SEcs.LG
收藏

具有兼容性保证的多样性感知Web API推荐

Diversity-aware Web APIs Recommendation with Compatibility Guarantee

China Agricultural University(中国农业大学);Weifang University of Science and Technology(潍坊科技学院);St. Francis Xavier University(圣弗朗西斯泽维尔大学);Macquarie University(麦考瑞大学);Persian Gulf University(波斯湾大学);Shiraz University of Technology(设拉子理工大学)

Wenwen Gonga, Yulan Zhang, Xuyun Zhang, Yucong Duan, Yawei Wang, Yifei Chena, Lianyong Qi

摘要:

随着Web API(应用程序编程接口)在智能软件开发中的日益普及,寻找和编写可以共同满足软件开发人员功能需求的现有Web API列表已成为经济方便地开发成功移动应用程序的有前途的方式。然而,候选Web API的大量和多样性给应用程序开发人员的Web API选择决策带来了额外的负担,因为同时保证最终选择的一组Web API的多样性和兼容性通常是一项具有挑战性的任务。针对这一挑战,提出了一种多样性感知、可信度驱动的Web API推荐方法--DivCAR。首先,为了实现多样性,DivCAR在预先构建的相关图上采用随机游走采样技术来生成不同的相关子图。然后,利用不同的相关子图,将兼容Web API推荐问题建模为最小组Steiner树搜索问题。通过解决最小组Steiner树搜索问题,将多组兼容且不同的Web API排序返回给应用程序开发人员。最后,我们设计并执行了一组实验上的现实世界的数据集从www.programmableWeb.com抓取。实验结果验证了我们提出的DivCAR方法在平衡Web API推荐多样性和兼容性方面的有效性和效率。

英文摘要:

With the ever-increasing prevalence of web APIs (Application Programming Interfaces) in enabling smart software developments, finding and composing a list of existing web APIs that can corporately fulfil the software developers' functional needs have become a promising way to develop a successful mobile app, economically and conveniently. However, the big volume and diversity of candidate web APIs put additional burden on the app developers' web APIs selection decision-makings, since it is often a challenging task to simultaneously guarantee the diversity and compatibility of the finally selected a set of web APIs. Considering this challenge, a Diversity-aware and Compatibility-driven web APIs Recommendation approach, namely DivCAR, is put forward in this paper. First, to achieve diversity, DivCAR employs random walk sampling technique on a pre-built correlation graph to generate diverse correlation subgraphs. Afterwards, with the diverse correlation subgraphs, we model the compatible web APIs recommendation problem to be a minimum group Steiner tree search problem. Through solving the minimum group Steiner tree search problem, manifold sets of compatible and diverse web APIs ranked are returned to the app developers. At last, we design and enact a set of experiments on a real-world dataset crawled from www.programmableWeb.com. Experimental results validate the effectiveness and efficiency of our proposed DivCAR approach in balancing the web APIs recommendation diversity and compatibility.

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

↑