Skip to content

Commit

Permalink
hw6.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
orbxball committed Jun 2, 2017
1 parent 3d6c92a commit 72b3bf0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions hw6/hw6.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

# $1: the data directory including test.csv, users.csv, movies.csv
# $2: prediction filename

python3 test.py $1 $2
2 changes: 1 addition & 1 deletion hw6/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def main(args):
TEST_CSV = 'test.csv'
USERS_CSV = 'users.csv'
MOVIES_CSV = 'movies.csv'
MODEL_WEIGHTS_FILE = 'weights.h5'
MODEL_WEIGHTS_FILE = 'weights_cf_bias.h5'

DATA_DIR = args.data_dir
TEST_CSV = os.path.join(DATA_DIR, TEST_CSV)
Expand Down

0 comments on commit 72b3bf0

Please sign in to comment.