Our code forked from https://github.com/aHuiWang/CIKM2020-S3Rec
We provide the replication code for all experimental results. The specific steps are as follows:
pip install -r requirements.txt
We provide a simple script file for one-step reproduction of the experimental results presented in the introduction section.
python run_introduction_experiment.py
Result save at ./output/introduction/All_result.txt
, and the training log save at ./output/introduction/.*
We provide a convenient way to reproduce the experimental results in the table:
sh table2_results.sh
Result will save at output/
folder, and our training log already save at our_output/
folder.
Replicating Results of Enhanced Loss Function on Aprec repo.
We did not fork the Aprec repo at this repo. But we provide code and tutorials to implement our enhanced loss in Aprec repo.
If you have any question please leave message at ISSUE.
If you find the our codes and datasets useful for your research or development, please cite our paper:
@misc{li2023improving,
title={Improving Sequential Recommendation Models with an Enhanced Loss Function},
author={Fangyu Li and Shenbao Yu and Feng Zeng and Fang Yang},
year={2023},
eprint={2301.00979},
archivePrefix={arXiv},
primaryClass={cs.IR}
}