Abstract

Easy accessibility of data and functions are the main advantages to develop mashups from abundant sources of Web APIs. However, it simultaneously brings difficulties to choose suitable APIs for a mashup. Existing probabilistic matrix factorization (PMF) recommender systems can effectively exploit the latent features of the invocations with the same weight but not all features are equally significant and predictive, and the useless features may bring noises to the model. In this work, we propose the Attentional PMF Model (AMF), which leverages a neural attentional network to learn the significance of latent features. We then inject the attentional scores and the mashup-API context similarity into the matrix factorization structure for training. Furthermore, our model exploits the relationship between APIs from both their context and co-invocation history as regularization terms to improve its prediction performance. Our experiments are evaluated on ProgrammableWeb. The results show that our model outperforms some state-of-art recommender systems in mashup service applications.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call