Do Loyal Users Enjoy Better Recommendations?: Understanding Recommender Accuracy from a Time Perspective
Code to reproduce the experiments from the paper: Do Loyal Users Enjoy Better Recommendations?: Understanding Recommender Accuracy from a Time Perspective (ICTIR2022)
This repository has the implementations for five models:
- BPR
- NeuMF: we follow https://github.com/hexiangnan/neural_collaborative_filtering
- LightGCN: we follow https://github.com/RUCAIBox/RecBole
- SASRec: we follow https://github.com/pmixer/SASRec.pytorch
- TiSASRec: we follow https://github.com/JiachengLi1995/TiSASRec
Dataset can be downloaded from https://drive.google.com/drive/folders/1TyQysstuaUo4IYb3WaVt4dVFOyZu3oN_.
- Tensorflow 1.14
- Python 3.6.9
- Tensorflow 1.14
- Python 3.6.9
- Keras 2.3.0
- Install RecBole package in https://github.com/RUCAIBox/RecBole
- PyTorch >= 1.6
- Tensorflow 1.14
| User ID | Item Id | Rating | Timestamp | Year |
|---|---|---|---|---|
| ... | ... | ... | ... | ... |
cd BPR/
python test.py --path ../Dataset/ --data movielens --selected_year 5 --gpu 1