Skip to content

Commit

Permalink
Update loaddata.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Chong Chen authored Apr 14, 2018
1 parent 22aca0a commit 5ea8676
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pro_data/loaddata.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def numerize(tp):

tp_test = tp_1[test_idx]
tp_valid = tp_1[~test_idx]
tp_train.to_csv(os.path.join(TPS_DIR, 'Toys_train.csv'), index=False,header=None)
tp_valid.to_csv(os.path.join(TPS_DIR, 'Toys_valid.csv'), index=False,header=None)
tp_test.to_csv(os.path.join(TPS_DIR, 'Toys_test.csv'), index=False,header=None)
tp_train.to_csv(os.path.join(TPS_DIR, 'music_train.csv'), index=False,header=None)
tp_valid.to_csv(os.path.join(TPS_DIR, 'music_valid.csv'), index=False,header=None)
tp_test.to_csv(os.path.join(TPS_DIR, 'music_test.csv'), index=False,header=None)

user_reviews={}
item_reviews={}
Expand Down

0 comments on commit 5ea8676

Please sign in to comment.