Abstract
Combining different Web APIs to create Mashups has become very popular nowadays. Choosing suitable ones from massive Web APIs is of vital importance for efficient Mashup creations. A number of Mashup-oriented API recommendation methods have been proposed to address this issue, but they have limitations in their ability to exploit the rich attributes and connection data of Web APIs, which impedes their performance. By modeling the API-related data as a heterogeneous information network and using pre-training technology, this paper proposes an accurate API recommendation method, named PHRec. In this method, the meta paths of APIs in the heterogeneous information network are exploited to obtain their context semantics; the method adopts an attention mechanism. Extensive experiments have been conducted with a real Web API dataset to evaluate the proposed method. The experimental results demonstrate that it significantly outperforms the state-of-the-art methods in the Web API recommendation task.
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.