Abstract
In recent years, with the development of software development, a large number of developers develop software by invoking API. With the increasing number of APIs, how to accurately recommend the APIs to developers has become a urgently necessary task. In this paper, we discover that there is a relationship between the user and the API, and use such relationships and collaborative learning techniques to finish APIs recommendation. We propose a holistic framework that contains three models. In the models, we design a joint matrix factorization technique and try to discover the preference among APIs invocation process. In natural language processing, word embedding is widely used. In our models, we use doc2vec to turn the representation of users and APIs into vector representation and calculate the similarity separately to generate the relationships. Besides the two modes in users side and APIs side, we also propose an ensemble model fully leveraging the preference mined from both users side and APIs side. We conduct the experiments on a real-world dataset and the experimental results show that our models perform better than all compared methods.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.