Coder Social home page Coder Social logo

recz's Introduction

Recz

Recz is a lightweight, fast recommendation system for item-to-item recommendations.

Setup

Recz takes as input a file with pairs of itemId, sessionId, e.g.:

NO0000000982506379 01d3fc5d9f23e8838ad21334aeac4cd1
NO0000000982506379 01d3fc5d9f23e8838ad21334aeac4cd1
NO0000000952507729 23d9c7fe7fc6ec66ae9183504cdbc2f1
NO0000000990891370 d7174e5c77eca009d8782cd6a6b76c47
NO0000000990891370 3aa320519fe006c7b38a3edf705e7f7a

Start the server simply like this:

./server.py < input.txt

Test it:

curl "http://localhost:8888/recommend?itemId=NO0000000995516055&k=3"
# example output: {"itemIds": ["NO0000000930668656", "NO0000000993905321", "NO0000000895476722"]}

recz's People

Stargazers

 avatar

Watchers

 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.