A PyTorch implementation of GDSRec for Ranking Task
- Preprocess dataset.
python preprocess.py
- Run main.py file to train the model. You can configure some training parameters through the command line.
python main.py --test=False
- Run main.py file to test the model.
python main.py --test=True
The hyper-parameter "cut_off" in ratingt_data.py corresponds to the parameter "F" in the paper. It controls the threshold of rating for splitting the data.