You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
About your questions, because the index 0 in item dictionary is for padding and it shouldn't be used to computing a recommendation score, you can see we use embe_dict[1:] to calculate the recommendation score for each item . So when evaluating the results, the true index for each target item should minus 1 to get its corresponding score in the score list,that's why you see _out = tmp_out[s]-1
For example, the index of first item in embedding dictionary is 1, but the index of its recommendation score in score list is 0.
Hi :)
I have a small question in the code.
I do not know why it has"-1" in the below part.
STAMP/model/STAMP_cikm.py
Line 218 in c0233b6
_out = tmp_out[s]-1
Thank you!
The text was updated successfully, but these errors were encountered: