Skip to content

Commit

Permalink
fix yT calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhangDesai committed Nov 13, 2016
1 parent fdd1427 commit 2cf2fcd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 32 deletions.
41 changes: 9 additions & 32 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ def predict(stock, data):
with tf.Session() as sess:
tf.train.Saver().restore(sess, '../models' + stock + '_model.ckpt')
prediction = sess.run([yT], feed_dict={x: data})
prediction = prediction[0][:, 0]
print(prediction)
return prediction

0 comments on commit 2cf2fcd

Please sign in to comment.