Giter VIP home page Giter VIP logo

ml-sysrec's Introduction

Recommender System

Objective

To build a recommender system to recommend next best merchant to users.

How to run

  1. Build docker image
docker build -t sys-rec .
  1. Run the docker container
docker run -p 8050:8050 sys-rec
  1. Use the app here
http://0.0.0.0:8050/

Method

A word2vec model is trained to obtain embeddings for all merchants. To this end, merchants clicked by a specific user within close time proximity are deemed as similar. Such merchants are extracted from the clicks data and used in model training. During prediction, the last 5 merchants clicked by the user is leveraged and merchants similar to them are recommended. In the case, the use does not have sufficient history of clicks, the most popular merchants will be recommended.

To evaluated model performance, the clicks data is split based on time: clicks during Jan, Feb 2021 constitute the training data, where as March 2021 represent the test data. Mean Average Precision @top 5 recommendation is used as evaluation metric. The model scores ~0.05 mAP in the test set.

After testing, all clicks data are used to build the final model, to be used in the app.

App

The app provides three pages:

Page 1 Page 2 Page 3

ml-sysrec's People

Contributors

rbiswasfc avatar

Watchers

James Cloos avatar  avatar

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.