GithubHelp home page GithubHelp logo

idem's Introduction

Idem

A simple recommend engine for anything - based on likes, Facebook-style.

This basic implementation came out while I was having a shower. There's plenty of room for improvements - any suggestion is welcome, so please continue reading.

Rationale

The two entities are simple: users and things.

An user can like any number of things.

Case 1: Based on the things the other users you want to suggest to a certain user something it may like too.

Case 2: Based on a thing, you want to list other things that are similar and that the users may likes too.

Todo

  • Case 1
  • Case 2
  • Reduce used memory by storing only half of the graph (instead of storing A->B and B->A we should exploit the symmetry of the problem to just store A-B).
  • Build a simple webserver with a small set of HTTP endpoints (e.g. GET /suggestions/{user}, POST /like/{user}/{thing})
  • Make some serialization/deserialization available for persistence. Still not sure if picking a dabatase, use something embedded like Bolt, or just be agnostic.

Note

I don't need this to be based on some NN or be super-fast. I plan to use this on a small set of available things and to update the cache of suggestions every once in a while.

idem's People

Contributors

pitasi avatar

Watchers

James Cloos avatar  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.