lyst / lyst/lightfm

Recommender System with RFM ratings to put into Interaction matrix

Open
#693 9 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 am trying to use LightFM for recommending the places to transact at.
I have used Recency, Frequency and Monetary (RFM) to calculate the interactions between a user and a shop.
I am putting these RFM interaction into Interaction matrix.
How do i go about in such a case?
I am using BPR loss function and have tried parameter tuning.
It gives good recall and AUC score here... But the issue is that the stores whose Interaction ratings are generally high... Are being recommended less. The actual life recall doesn't match.
Please help how to proceed if I am making any mistake in creating the interaction matrix.

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 how the RFM values are converted into LightFM's interaction matrix and how the BPR loss interprets those interactions; the issue names no file, test, or entry point. Compare the matrix semantics with the intended real-world recall, and establish a reproducible correction or documented explanation before considering the issue done.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.