Skip to content

Latest commit

 

History

History
29 lines (29 loc) · 697 Bytes

README.md

File metadata and controls

29 lines (29 loc) · 697 Bytes

dien

prepare data

method 1

You can get the data from amazon website and process it using the script

sh prepare_data.sh

method 2 (recommended)

Because getting and processing the data is time consuming,so we had processed it and upload it for you. You can unzip it to use directly.

tar -zxvf data.tar.gz
mv data/* .

When you see the files below, you can do the next work.

  • cat_voc.pkl
  • mid_voc.pkl
  • uid_voc.pkl
  • local_train_splitByUser
  • local_test_splitByUser

train model

python train.py train [model name] 

The model blelow had been supported: