lyst / lyst/lightfm

Getting different recommendations

Open
#520 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 am getting different results(recommended products) when
1. Running the script in AWS env.
2. When the device calls my flask API to get the recommendation(API import the script mentioned above).
Also, I have random_state so that the results can be reproducible.
When I checked the recommendations from scripts vs API in my local machine both the results are the same.
I am confused about what changed the result in AWS env.

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 comparing the script's execution in the AWS environment with the Flask API entry point that imports it, then compare both against the local runs. Check how random_state and the runtime environment are configured in each case. Done means identifying why AWS produces different recommendations or documenting a reproducible configuration that keeps the results consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, flask, python
Domain
backend-api-design, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.