Giter Site home page Giter Site logo

webservicerec's Introduction

Web Service Recommendation

Recommendation systems have been widely used by companies to improve customer interaction and increase the time spent on their platform. And with the recent surge in web services on the internet it has become essential to develop an effective recommendation system which would further improve the customer engagement score. Traditional web service recommendation systems have made use of neighborhood based collaborative filtering with Quality of Service(QoS) as a parameter to predict customer preferences. To further improve the performance and overcome the problems faced by the neighborhood based collaborative filtering algorithm the paper [1] suggests to consider time information as an important parameter along with QoS. In this paper we try to understand the approach mentioned in the above paper and implement the algorithm and revalidate the test results.

Contributors

Dataset:

In this approach, we use the WS-dream dataset provided by [2]. It is a publicly available data which was collected in 2011. The WS-Dream dataset is divided into two datasets, the first dataset contains the response time and throughput of the record of service invocation of 339 users and 585 web services. The second dataset contains contains QoS measurements from 142 users on 4,500 Web services. It is taken over 64 consecutive time slices which is at 15 min intervals. The preprocessing involves removing duplicates from response time and throughput information.

Requirements

  • Python 3.7.3+
  • Numpy
  • PostgreSQL
  • psycopg2
  • pandas
  • tqdm
  • pickle
  • matplotlib
  • mcdm
  • Flask

Run pip install -r requirements.txt to install all the Python dependencies

Steps to run the program:

Data Loading:
  • Create a database on the PostgreSQL server with the name webservicerecommendation.
  • cd ~/WebServiceRec/CreateDB
  • Replace the username and password with PostgreSQL username and password.
  • Run python3 main.py
Web Service Recommendation:
  • cd ~/WebServiceRec
  • Replace the username and password with PostgreSQL username and password.
  • Change the db name to webservicerecommendation
  • Run python3 main.py
  • Enter User Location and Service Category and User Id

Ex: User Location=United States, Service category=Microsoft, User Id = 1

References:

[1] Y. Hu, Q. Peng, X. Hu, and R. Yang. Time aware anddata sparsity tolerant web service recommendationbased on improved collaborative filtering.IEEETransactions on Services Computing, 8(5):782โ€“794,2015

[2] Z. Zheng, Y. Zhang, and M. R. Lyu. Investigating qosof real-world web services.IEEE Transactions onServices Computing, 7(1):32โ€“39, 2014

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.