lyst / lyst/lightfm

Implementing Incremental Training and Feedback loop using Lightfm

Open
#705 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I have successfully trained a lightfm model based on user features, item features and interactions. Now I want to incrementally train the model to cover two aspects:
1. Addition of new items/users and their interactions
2. Update model based on user feedback(preferably both positive and negative) of the provided recommendations

For the first case, I can see the `fit_partial` function in the [Dataset](https://making.lyst.com/lightfm/docs/lightfm.data.html#lightfm.data.Dataset.fit_partial) and [Model](https://making.lyst.com/lightfm/docs/lightfm.html#lightfm.LightFM.fit_partial) which seem to be the way, but I'm not sure.
For the second case, I couldn't find anything in the documentation, so I am not sure how to proceed.
Any directions would be appreciated

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 with the Dataset.fit_partial and LightFM.fit_partial documentation linked in the issue, then inspect how they address new users, items, and interactions. Determine whether feedback-based updates, including negative feedback, are supported or require a defined API change. Done should clearly document the supported incremental-training workflow and feedback behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.