NVIDIA-Merlin / NVIDIA-Merlin/Merlin

Change the preprocess.py script to support session-based recommendation

Open
#940 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
907
Forks
129
PR merge metrics
No merged PRs in 30d

Description

  • Group interactions into sessions / user-sequences, sorted by timestamp
  • Filter out sessions with length < 2 (or N)
  • Option to remove repeated interactions
  • Truncate to max sequence length

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 by locating preprocess.py and read how interactions are currently loaded and ordered. Implement the four checklist behaviors for session-based sequences, including configurable minimum and maximum lengths, then verify each option with the script's existing usage or tests if present. The issue does not name specific tests or an entry point beyond preprocess.py.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.