lyst / lyst/lightfm

Is there a way to get item to user rank instead of user to item rank?

Open
#613 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

To get user-> item rank, I can get with

model.predict(user_id, item_id, item_features=item_features, user_features=user_features)

this will return a score on items. Is there a way to get the reverse?

get a score on users based on item?

In case of movies

    Contact (1997)
     Known positives:
        User 2
        User 10
        User 5
     Watched:
        User 21
        User 2
        User 8

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 model.predict API shown in the issue and trace how it produces user-to-item scores. Clarify whether reverse scoring is supported and define the expected user ranking for a movie such as Contact (1997); done means the requested behavior or its limitation is clearly established.

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.