Preference discovery from wireless social media data in APIs recommendation

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.

[1]  Valeria De Antonellis,et al.  Advanced Web API search patterns adding collective knowledge to public repository facets , 2013, IIWAS '13.

[2]  Ferdian Thung,et al.  API recommendation system for software development , 2016, 2016 31st IEEE/ACM International Conference on Automated Software Engineering (ASE).

[3]  Zhang Wei,et al.  Investigation of the evaluation system of SMEs’ industrial cluster management performance based on wireless network development , 2019, EURASIP Journal on Wireless Communications and Networking.

[4]  Yehuda Koren,et al.  Factor in the neighbors: Scalable and accurate collaborative filtering , 2010, TKDD.

[5]  Kourosh Kiani,et al.  User based Collaborative Filtering using fuzzy C-means , 2016 .

[6]  Jian Yin,et al.  Combining user-based and item-based collaborative filtering techniques to improve recommendation diversity , 2013, 2013 6th International Conference on Biomedical Engineering and Informatics.

[7]  Richi Nayak,et al.  Collaborative Filtering Recommender Systems Using Tag Information , 2008, 2008 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology.

[8]  Min Cao,et al.  An Approach to Alleviate the Sparsity Problem of Hybrid Collaborative Filtering Based Recommendations: The Product-Attribute Perspective from User Reviews , 2019, Mobile Networks and Applications.

[9]  Honghao Gao,et al.  An IoT-based task scheduling optimization scheme considering the deadline and cost-aware scientific workflow for cloud computing , 2019, EURASIP Journal on Wireless Communications and Networking.

[10]  Mehrbakhsh Nilashi,et al.  A multi-criteria collaborative filtering recommender system for the tourism domain using Expectation Maximization (EM) and PCA-ANFIS , 2015, Electron. Commer. Res. Appl..

[11]  Valeria De Antonellis,et al.  Semantics-Enabled Web API Organization and Recommendation , 2011, ER Workshops.

[12]  Andreas Zeller,et al.  Mining Version Histories to Guide Software Changes , 2004 .

[13]  Buqing Cao,et al.  Web API Recommendation for Mashup Development Using Matrix Factorization on Integrated Content and Network-Based Service Clustering , 2017, 2017 IEEE International Conference on Services Computing (SCC).

[14]  Collin McMillan,et al.  Recommending source code for use in rapid software prototypes , 2012, 2012 34th International Conference on Software Engineering (ICSE).

[15]  K. K. Fletcher,et al.  Regularizing Matrix Factorization with Implicit User Preference Embeddings for Web API Recommendation , 2019, 2019 IEEE International Conference on Services Computing (SCC).

[16]  Lina Yao,et al.  Mashup Recommendation by Regularizing Matrix Factorization with API Co-Invocations , 2018, IEEE Transactions on Services Computing.

[17]  Honghao Gao,et al.  V2VR: Reliable Hybrid-Network-Oriented V2V Data Transmission and Routing Considering RSUs and Connectivity Probability , 2020, IEEE Transactions on Intelligent Transportation Systems.

[18]  Honghao Gao,et al.  Personalized APIs Recommendation With Cognitive Knowledge Mining for Industrial Systems , 2021, IEEE Transactions on Industrial Informatics.

[19]  Hong Cheng,et al.  Searching connected API subgraph via text phrases , 2012, SIGSOFT FSE.

[20]  Wei Zhang,et al.  Investigation of the evaluation system of SMEs' industrial cluster management performance based on wireless network development , 2019, EURASIP J. Wirel. Commun. Netw..

[21]  Martin P. Robillard,et al.  Automatic generation of suggestions for program investigation , 2005, ESEC/FSE-13.

[22]  Yehuda Koren,et al.  Matrix Factorization Techniques for Recommender Systems , 2009, Computer.

[23]  Kenneth Fletcher,et al.  A Knowledge Graph Based Framework for Web API Recommendation , 2019, 2019 IEEE World Congress on Services (SERVICES).

[24]  Rui Li,et al.  QoS Prediction for Service Recommendation With Features Learning in Mobile Edge Computing Environment , 2020, IEEE Transactions on Cognitive Communications and Networking.

[25]  Massimiliano Di Penta,et al.  FOCUS: A Recommender System for Mining API Function Calls and Usage Patterns , 2019, 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE).

[26]  Zhonghai Wu,et al.  Autoencoder based API Recommendation System for Android Programming , 2019, 2019 14th International Conference on Computer Science & Education (ICCSE).

[27]  Michael R. Lyu,et al.  Flow-Augmented Call Graph: A New Foundation for Taming API Complexity , 2011, FASE.

[28]  Alvaro Barreiro,et al.  Language Models for Collaborative Filtering Neighbourhoods , 2016, ECIR.

[29]  Zibin Zheng,et al.  WSRec: A Collaborative Filtering Based Web Service Recommender System , 2009, 2009 IEEE International Conference on Web Services.

[30]  Bin Guo,et al.  Mining consuming Behaviors with Temporal Evolution for Personalized Recommendation in Mobile Marketing Apps , 2020, Mobile Networks and Applications.