Replies: 1 comment
-
Hello, @elloza In the implementation of RecBole's sequential models, session_id (or user_id) is not needed for predicting. If you want to calculate the scores between the given sequence and all candidate items, you can just process the sequence of items into an interaction with RecBole/recbole/model/sequential_recommender/gru4rec.py Lines 113 to 119 in ddff621 Best Wishes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I would like to use RecBole's already trained models (sequential) to predict the next item from some interactions but from a session_id that is not in the dataset. (Session-based recommendation)
Is it possible to do this with this library?
This question is related to this and this.
"Given sequence of items, calculate the scores between the given sequence and all candidate items."
The main question is how to use RecBole with sequential models to get a prediction of a next item given a list of previous items and without a session_id (or user_id)?.
Thank you so much!
Beta Was this translation helpful? Give feedback.
All reactions