lyst / lyst/lightfm

How to get clusters of users from trained lightfm model on implicit rating model?

Open
#700 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 want to cluster users given that I have a trained fm model. I tried clustering user embeddings I got
user_embeddings = model.get_user_representations()
then applying k means clustering but I didn't get any pattern.

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 use of model.get_user_representations() and the attempted k-means clustering. The issue does not name a file, test, or specific project change; clarify whether the desired outcome is documentation about user embeddings and clustering or a change to LightFM. Done should be defined before implementation.

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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.