Implentation of CauseRec: Counterfactual User Sequence Synthesis for Sequential Recommendation Dataset: amazon-book Link of data: https://github.com/THUDM/ComiRec Example to run the codes Train and evaluate CauseRec: python model.py Metric Calculation The calculation of all metrics follow https://github.com/THUDM/ComiRec/tree/8303ab48e9c2bf6719b9771ab78e41d72e87cfcd.