ComiRec icon indicating copy to clipboard operation
ComiRec copied to clipboard

Questions about MostPopular Recall on Taobao

Open UesugiErii opened this issue 3 years ago • 3 comments

I implemented the MostPopular method myself and tested it on your dataset. On Amazon book, I have the same result as you. On Taobao, I have the same HitRate result as you, but the result of Recall is different from yours. My Taobao Recall result is 0.366@20, 0.667@50 Can you open source your MostPopular code?

UesugiErii avatar Aug 30 '21 11:08 UesugiErii

I also encountered the same situation! Could the owner open source MostPopular code?

outside-BUPT avatar Sep 20 '21 14:09 outside-BUPT

Hi @UesugiErii @outside-BUPT ,

Sorry for the late reply. I add the MostPopular code in the src/ directory. Please check whether it reproduces the reported results in the paper.

cenyk1230 avatar Sep 23 '21 06:09 cenyk1230

Hi, @cenyk1230 , first thank you for your reply.

In your mostpop code, ndcg and recall is different from train.py(evaluate_full), below I just take recall as an example.

Suppose the popular item is [1,2,3], only one test user, and the test user's test set is [2,2] (item_list[int(len(item_list) * 0.8):])

If use the calculation method of evaluate_full in train.py, then recall will be 0.5 If use the calculation method of mostpop.py, then recall will be 1

The possible reason for no problem on Amazon is that there are no duplicate items in the test set of the test user, but there are duplicates on Taobao.

UesugiErii avatar Sep 24 '21 12:09 UesugiErii