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 条
  • [21] Knowledge graph-based recommendation method for cold chain logistics
    Li, Xiang
    Xie, Qian
    Zhu, Quanyin
    Ren, Ke
    Sun, Jizhou
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2023, 227
  • [22] Knowledge graph-based recommendation system enhanced by neural collaborative filtering and knowledge graph embedding
    Shokrzadeh, Zeinab
    Feizi-Derakhshi, Mohammad-Reza
    Balafar, Mohammad -Ali
    Mohasefi, Jamshid Bagherzadeh
    [J]. AIN SHAMS ENGINEERING JOURNAL, 2024, 15 (01)
  • [23] Graph-based Knowledge Representation Model and Pattern Retrieval
    Qu, Qiang
    Qiu, Jiangnan
    Sun, Chenyan
    Wang, Yanzhang
    [J]. FIFTH INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY, VOL 5, PROCEEDINGS, 2008, : 541 - +
  • [24] GRAPH-BASED RECOMMENDATION SYSTEM
    Yang, Kaige
    Toni, Laura
    [J]. 2018 IEEE GLOBAL CONFERENCE ON SIGNAL AND INFORMATION PROCESSING (GLOBALSIP 2018), 2018, : 798 - 802
  • [25] Graph-based recommendation by trust
    Wang, Liejun
    Pan, Long
    Qin, Jiwei
    [J]. INTERNATIONAL JOURNAL OF INTERNET PROTOCOL TECHNOLOGY, 2021, 14 (01) : 33 - 40
  • [26] A graph-based QoS prediction approach for web service recommendation
    Chang, Zhenhua
    Ding, Ding
    Xia, Youhao
    [J]. APPLIED INTELLIGENCE, 2021, 51 (10) : 6728 - 6742
  • [27] A graph-based QoS prediction approach for web service recommendation
    Zhenhua Chang
    Ding Ding
    Youhao Xia
    [J]. Applied Intelligence, 2021, 51 : 6728 - 6742
  • [28] Knowledge graph-based mapping and recommendation to automate life cycle assessment
    Peng, Tao
    Gao, Lu
    Agbozo, Reuben S. K.
    Xu, Yuming
    Svynarenko, Kateryna
    Wu, Qi
    Li, Changpeng
    Tang, Renzhong
    [J]. ADVANCED ENGINEERING INFORMATICS, 2024, 62
  • [29] Knowledge Graph-Based Behavior Denoising and Preference Learning for Sequential Recommendation
    Liu, Hongzhi
    Zhu, Yao
    Wu, Zhonghai
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2024, 36 (06) : 2490 - 2503
  • [30] Knowledge graph-based multi-context-aware recommendation algorithm
    Wu, Chao
    Liu, Sannyuya
    Zeng, Zeyu
    Chen, Mao
    Alhudhaif, Adi
    Tang, Xiangyang
    Alenezi, Fayadh
    Alnaim, Norah
    Peng, Xicheng
    [J]. Information Sciences, 2022, 595 : 179 - 194