Some of the codes are adopted from MetaCF
- python==3.6.3
- pytorch==1.1.0
- numpy==1.17.0
- scikit-learn==0.24.2
- Ubuntu, VERSION="16.04.7 LTS (Xenial Xerus)
train.sh
- directly run to train our score-aware MetaCF model
- uncomment
--original_model
,--dot_prod
to run the original model - change
--epoch
to load saved model - other configs' discriptions are in help information
evaluate.sh
:- directly run to evaluate our score-aware MetaCF model
- uncomment
--original_model
,--dot_prod
to evaluate the original model - change
--epoch
to load saved model - other configs' discriptions are in help information
- we early stop after 2 epoches, and we fix the rank prediction after the first epoch
- Initialize and load the original kindle dataset and our movielens dataset
- Subgraph sampling with/without probability
- Training and evaluation procedure
- The model of GCN
read_log.py
testcode.py