lyst / lyst/lightfm

Tutorial on deployment of lightfm model to production

Open
#585 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
5.1k
Forks
724
PR merge metrics
No merged PRs in 30d

Description

It is just a feature request and not a bug or issue.

Could you guys please include a simple example of creating a server(maybe using Flask) that can be used for recommending items to users?

In the paper "Metadata Embeddings for User and Item Cold-start Recommendations" there is a paragraph on handling new users in an online manner.

```Thousands of new items and users appear on Lyst everyday. To cope with this, we train our LightFM model in an online manner, continually updating the representations of existing features and creating fresh representations for features that we have never observed before.```

Will it be possible to include a simple tutorial on that too using open source data like MovieLens? I believe it will really help out the community.

Thank you.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing LightFM tutorials and documentation structure, then outline the requested Flask-style production server example and the online update workflow. Use MovieLens as the example dataset; done means the tutorial covers deployment, recommendations for users, and handling new users and items.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, documentation, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.