THUDM / ComiRec

Source code and dataset for KDD 2020 paper "Controllable Multi-Interest Framework for Recommendation"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Questions about MostPopular Recall on Taobao

UesugiErii opened this issue · comments

commented

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?

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

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.

commented

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.