arrow
返回

Intelligent Code Completion with Bayesian Networks

delete2015-12-02
delete54
PRE
AI
S
Sebastian Proksch *
J
Johannes Lerch
M
Mira Mezini
DOI:10.1145/2744200delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Code completion is an integral part of modern Integrated Development Environments (IDEs). Developers often use it to explore Application Programming Interfaces (APIs). It is also useful to reduce the required amount of typing and to help avoid typos. Traditional code completion systems propose all type-correct methods to the developer. Such a list is often very long with many irrelevant items. More intelligent code completion systems have been proposed in prior work to reduce the list of proposed methods to relevant items. This work extends one of these existing approaches, the Best Matching Neighbor (BMN) algorithm. We introduce Bayesian networks as an alternative underlying model, use additional context information for more precise recommendations, and apply clustering techniques to improve model sizes. We compare our new approach, Pattern-based Bayesian Networks (PBN), to the existing BMN algorithm. We extend previously used evaluation methodologies and, in addition to prediction quality, we also evaluate model size and inference speed. Our results show that the additional context information we collect improves prediction quality, especially for queries that do not contain method calls. We also show that PBN can obtain comparable prediction quality to BMN, while model size and inference speed scale better with large input sizes.
Keyword:
Algorithms
Experimentation
Measurement
Performance
Content assist
code completion
integrated development environments
machine learning
evaluation
code recommender
productivity
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

T
Technical University of Darmstadt
学者数:
1.3W
论文数: 10.0K
被引数: 1.2W
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
err分享
err收藏
err分享
err收藏
Nighttime Kidney Transplant From Donor With Controlled Cardiac Death: Greater Functionality at the Cost of More Complications?
err2021-11-01
err0
PREAI
errEstefania Ruiz Guerrero; Rodrigo García-Baquero; Cristina Salvatierra Pérez; Cristina Margarita Fernández-Ávila; Auxiliadora Blanca Mazuecos; José Luis Álvarez-Ossorio
err分享
err收藏
Abnormal Contrast Responses in the Extrastriate Cortex of Blindsight Patients
err2015-05-27
err0
errOAAI
errSara Ajina; Geraint Rees; Christopher Kennard; Holly Bridge
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Advanced Business Analytics
err
IF0
err2015-01-01
err0
PREAI
err
err分享
err收藏
学者 查看更多内容