A Hybrid Pattern Knowledge Graph-Based API Recommendation Approach

被引:0
|
作者
Wang, Guan [1 ]
Wang, Weidong [1 ]
Li, Dian [1 ]
机构
[1] Beijing Univ Technol, Fac Informat Technol, Beijing, Peoples R China
来源
关键词
Knowledge graph; API; Machine learning;
D O I
10.1007/978-3-031-20503-3_37
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
There are a large number of application program interfaces (APIs) on the Internet. Due to frequently updating APIs, programmers are prompted to frequently consult API documents in the process of software development. However, the traditional query approaches of the documents have certain limitations. For example, the programmers need to know the API name as a prerequisite and are often unable to obtain the expected search results because of the difference in understanding between the description of the problem and the description of the documents. Only these "known-unknown" information can be queried, and it is difficult to query the "unknown-unknown" information. To address the limitations, we establish the knowledge graph of software source code combined with knowledge which is derived from the documents, Github project code warehouse, Stack overflow platform, and local project code warehouse. Moreover, we propose a hybrid pattern knowledge graph-based API recommendation approach for programmers to complete the query task of unknown-unknown information. Finally, we constructed large-scale real experiments. Evaluation results prove that the proposed approach significantly outperforms the state-of-the-art approach.
引用
收藏
页码:465 / 476
页数:12
相关论文
共 50 条
  • [1] Intelligent personalised exercise recommendation: A weighted knowledge graph-based approach
    Lv, Pin
    Wang, Xiaoxin
    Xu, Jia
    Wang, Junbin
    [J]. COMPUTER APPLICATIONS IN ENGINEERING EDUCATION, 2021, 29 (05) : 1403 - 1419
  • [2] Survey on Knowledge Graph-Based Recommendation Methods
    Luo, Chengtian
    Ye, Xia
    [J]. Computer Engineering and Applications, 2023, 59 (01) : 49 - 60
  • [3] A Graph-based Approach to API Usage Adaptation
    Hoan Anh Nguyen
    Tung Thanh Nguyen
    Wilson, Gary, Jr.
    Anh Tuan Nguyen
    Kim, Miryung
    Nguyen, Tien N.
    [J]. ACM SIGPLAN NOTICES, 2010, 45 (10) : 302 - 321
  • [4] A Knowledge Graph based Framework for Web API Recommendation
    Kwapong, Benjamin A.
    Fletcher, Kenneth K.
    [J]. 2019 IEEE WORLD CONGRESS ON SERVICES (IEEE SERVICES 2019), 2019, : 115 - 120
  • [5] Iterative heterogeneous graph learning for knowledge graph-based recommendation
    Liu, Tieyuan
    Shen, Hongjie
    Liang, Chang
    Long, Li
    Li, Jingjing
    [J]. SCIENTIFIC REPORTS, 2023, 13 (01)
  • [6] Iterative heterogeneous graph learning for knowledge graph-based recommendation
    Tieyuan Liu
    Hongjie Shen
    Liang Chang
    Long Li
    Jingjing Li
    [J]. Scientific Reports, 13
  • [7] KG4Vis: A Knowledge Graph-Based Approach for Visualization Recommendation
    Li, Haotian
    Wang, Yong
    Zhang, Songheng
    Song, Yangqiu
    Qu, Huamin
    [J]. IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2022, 28 (01) : 195 - 205
  • [8] Personalizing Medication Recommendation with a Graph-Based Approach
    Bhoi, Suman
    Lee, Mong Li
    Hsu, Wynne
    Fang, Hao Sen Andrew
    Tan, Ngiap Chuan
    [J]. ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2022, 40 (03)
  • [9] A Versatile Graph-based Approach to Package Recommendation
    Interdonato, Roberto
    Romeo, Salvatore
    Tagarelli, Andrea
    Karypis, George
    [J]. 2013 IEEE 25TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI), 2013, : 857 - 864
  • [10] Knowledge Graph-Based Personalized Multitask Enhanced Recommendation
    Guo, Liangmin
    Liu, Tingting
    Zhou, Shiming
    Tang, Haiyue
    Zheng, Xiaoyao
    Luo, Yonglong
    [J]. IEEE TRANSACTIONS ON COMPUTATIONAL SOCIAL SYSTEMS, 2024,