题名 | Semantics-Driven Learning for Microservice Annotations |
作者 | |
通讯作者 | Zhang, Yuqun |
DOI | |
发表日期 | 2022
|
会议名称 | 20th International Conference on Service-Oriented Computing, ICSOC 2022
|
ISSN | 0302-9743
|
EISSN | 1611-3349
|
ISBN | 9783031209833
|
会议录名称 | |
卷号 | 13740 LNCS
|
页码 | 255-263
|
会议日期 | November 29, 2022 - December 2, 2022
|
会议地点 | Seville, Spain
|
出版者 | |
摘要 | Annotations are program metadata that generates code and configuration files, among others. Different frameworks provide annotations to facilitate the implementation of microservice applications while their absence can slow down the maintenance of microservices and their misuse can lead to potential bugs. In this paper, we propose a novel semantics-driven learning approach for capturing the relation between code fragments and annotations, leveraging a Recurrent Neural Network (RNN) and a K-Nearest-Neighbour (KNN) classifier. The approach locates similar pieces of code to increase the probability of suggesting annotations of unseen fragments. We utilise PyTorch and Sci-kit Learn to evaluate our approach with a set of Java code fragments, and we measure how similar two code fragments are by a number between zero (close) and one (distant). The results indicate that our semantics-driven learning framework achieves an average of 87% of correct recommendations of annotations when the code fragments have a distance of 0.4 against the expected annotations subset. © 2022, The Author(s), under exclusive license to Springer Nature Switzerland AG. |
学校署名 | 第一
; 通讯
|
语种 | 英语
|
收录类别 | |
WOS记录号 | WOS:000898280300017
|
EI入藏号 | 20230113325591
|
EI主题词 | Nearest neighbor search
; Program debugging
; Recurrent neural networks
; Semantics
|
EI分类号 | Computer Programming:723.1
; Computer Applications:723.5
; Optimization Techniques:921.5
|
来源库 | EV Compendex
|
引用统计 |
被引频次[WOS]:0
|
成果类型 | 会议论文 |
条目标识符 | http://sustech.caswiz.com/handle/2SGJ60CL/519750 |
专题 | 南方科技大学 |
作者单位 | 1.Southern University of Science and Technology, Shenzhen, China 2.University of Birmingham, Edgbaston, United Kingdom 3.ESPOL Polytechnic University, Escuela Superior Politécnica del Litoral, ESPOL, Facultad de Ingeniería en Electricidad y Computación, Campus Gustavo Galindo Km 30.5 Vía Perimetral, P.O. Box 09-01-5863, Guayaquil, Ecuador 4.Cotell Inc., Shenzhen, China |
第一作者单位 | 南方科技大学 |
通讯作者单位 | 南方科技大学 |
第一作者的第一单位 | 南方科技大学 |
推荐引用方式 GB/T 7714 |
Ramírez, Francisco,Mera-Gómez, Carlos,Chen, Shengsen,et al. Semantics-Driven Learning for Microservice Annotations[C]:Springer Science and Business Media Deutschland GmbH,2022:255-263.
|
条目包含的文件 | 条目无相关文件。 |
|
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论