tensorflow / tensorflow/recommenders

Question: How can I utilize categories and other features for new users in the Sequential Retriever

Open
#737 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

I implemented the Sequential Retriever using the tutorial and was hoping to expand it for new users by taking in an additional parameter which is the categories the user prefers. I'm hoping to make the predictions like so

movies_watched = ["1", "2", "3"]
preferred_categories = ["Action", "Comedy"]

recommendations = predict(movies_watched, preferred_categories)

The goal is to provide recommendations for new users by passing an empty array for movies_watched and passing the collected categories.

Really appreciate some guidance on how I have achieve this.

Contributor guide

Open the contributing guide

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 Sequential Retriever tutorial and the proposed predict(movies_watched, preferred_categories) entry point, then inspect how user and item features are represented. Clarify the intended cold-start behavior when movies_watched is empty and define an example or test showing recommendations based on preferred categories.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
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.