The use of packaged libraries can significantly shorten the software development cycle by improving the quality and readability of code. In this paper, we present a recommendation engine called Librarian for open source libraries. A candidate library package is recommended for a given context if: 1) it has been frequently used with the imported libraries in the program; 2) it has similar functionality to the imported libraries in the program; 3) it has similar functionality to the developer's implementation, and 4) it can be used efficiently in the context of the provided code. We apply the state-of-the-art CodeBERT-based model for analysing the context of the source code to deliver relevant library recommendations to users.
Multi-criteria recommendation systems to foster online grocery
College of Computing and Information Technology, Arab Academy for Science, Technology and Maritime Transport (AASTMT)(阿拉伯科学、技术与海运学院(AASTMT)计算与信息技术学院);atlanTTic, Universidade de Vigo(维戈大学atlanTTic研究中心)
LensKit for Python: Next-Generation Software for Recommender System Experiments
Boise State University(博伊西州立大学)
LensKit是一个开源工具包,用于构建,研究和学习推荐系统。它于2010年首次作为Java框架发布,支持各种已发表的研究,小规模生产部署以及MOOC和传统课堂环境中的教育。在本文中,我提出了下一代的LensKit项目,重新设想原来的工具的目标作为灵活的Python包,以支持推荐系统的研究和开发。LensKit for Python(LKPY)使研究人员和学生能够构建强大、灵活和可重复的实验,这些实验利用了庞大且不断增长的PyData和Scientific Python生态系统,包括scikit-learn、TensorFlow和PyTorch。为此,它提供了经典的协同过滤实现,推荐系统评估指标,数据准备例程和有效批量运行推荐算法的工具,所有这些都可以相互组合或与其他Python软件组合使用。本文描述了LKPY的设计目标、用例和功能,并在反思原始LensKit for Java软件的成功和失败的背景下进行了阐述。
Empirical Evaluation of AI-Assisted Software Package Selection: A Knowledge Graph Approach
Computer Science, Utrecht University, Utrecht, The Netherlands Michel Chaudron Department of Mathematics;Computer Science, TU Eindhoven, Eindhoven, The Netherlands
RACK: Automatic API Recommendation using Crowdsourced Knowledge
传统的代码搜索引擎通常不能很好地执行自然语言查询,因为它们主要应用关键字匹配。因此,这些引擎需要精心设计的查询,其中包含有关代码搜索编程API的信息。不幸的是,现有的研究表明,准备一个有效的代码搜索查询是既具有挑战性和耗时的开发人员。在本文中,我们提出了一种新的API推荐技术--RACK,它通过利用Stack Overflow的众包知识中的关键字-API关联,为代码搜索的自然语言查询推荐相关API列表。我们首先使用11个核心Java包和来自Stack Overflow的344 K Java帖子进行探索性研究来激励我们的技术。使用150个代码搜索查询随机选择的三个Java教程网站的实验表明,我们的技术建议正确的API类的前10名的结果约79%的查询,这是非常有前途的。与最先进技术的两个变体的比较还表明,RACK不仅在Top-K准确率方面,而且在平均平均精确率和平均召回率方面都大大优于它们。