Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. predictions = pd.read_csv(os.path.join(data_dir, 'test.csv.out'), header=None)
  2. predictions = [round(num) for num in predictions.squeeze().values]
  3. #evaluate model
  4. accuracy_score(test_y, predictions)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement