-
Hi RecBole developers, What exactly is the evaluation scheme that RecBole follows when evaluating sessions? Suppose the sessions are 5 like this example I have seen in other comments as in #1060
I am trying to fit it into one of these evaluation protocols that can be found in the literature but it is not clear to me. Source: https://github.com/mquad/sars_tutorial/blob/master/slides/TheWebConf2019_03_Evaluation.pdf If you could give me a small example or indicate me the code in which this procedure is performed, I would be very thankful. Thank you very much for your fantastic library, well done! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@elloza Hello, thanks for your attention to RecBole!
|
Beta Was this translation helpful? Give feedback.
@elloza Hello, thanks for your attention to RecBole!
The evaluation scheme of RecBole follows "Revel incrementally". i.e. given a session [1,2,3,4,5], we utilize [1] to predict 2; [1,2] to predict 3; [1,2,3] to predict 4; [1,2,3,4] to predict 5. To keep the sequence length consistent, zeros is used as padding item. In evaluation, we only utilize the reveal items of session and we record the real sequence length by item_seq_len.
For example, in GRU4Rec, the output of the sequence is defined as: