lyst / lyst/lightfm

How to use LightFM with sparse interaction data?

Open
#424 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I am currently exploring recommender systems for a masters project at university. My dataset consists of tweets by users with a bunch of brief user metadata such as location and item metadata such as tweet body, hashtags used and industry, sector information about hashtag if present, timestamp etc.

My problem is I'm finding it difficult to recommend items because there is only ever a one-to-one interaction between a user and their authored post. The item features slightly increase scores on the training set but I have no luck on the test set.

Am I maybe looking at a different approach? I do have a slight profile for each user on the basis of their post content but how would I model that for recommendation? Does the sparsity of the interaction matrix matter? I'm quite new to all this so most of my issues are from how to frame my input data.

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 issue's questions about one-to-one interactions, sparse matrices, user profiles, and item features against LightFM's documented input model. Done would be a clear, project-specific explanation of whether this data framing is supported and what approach the user should investigate.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Documentation
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.