lyst / lyst/lightfm

What's a good way to "weight" the importance of item/user features in LightFM?

Open
#538 2 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

Hey all, I have been using LightFM in an e-commerce application with a decent amount success. Thanks for this really cool package!

I'm in the process of optimizing the recommendation outputs. Because of specific business domain considerations, certain features are "more important" and have less leeway in terms of variability than others, like "price" (i.e. certain recommended items need to be in a soft price range).

From other posts, I have seen that the best way to deal with a numerical item feature like "price" is to discretize it. I have so far used decile bins. **Is there also a way for LightFM to weight this feature MORE than the others?**.

Thanks in advance!

Edit: I also added this question in [stackoverflow](https://stackoverflow.com/questions/62221190/whats-a-good-way-to-weight-the-importance-of-item-user-features-in-lightfm)

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

The issue provides no file, test, or entry point to inspect. Start by reviewing LightFM's feature representation and training documentation to determine whether feature weighting is supported, then document the supported approach or define the required behavior and validation criteria.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.