VivekPa / AIAlpha

Use unsupervised and supervised learning to predict stocks
MIT License
1.67k stars 444 forks source link

Seems not working neural network #5

Closed Jonas121 closed 5 years ago

Jonas121 commented 5 years ago

Model.py creates stock price: stock_price = np.exp(np.reshape(prediction, (1,)))*stock_data_test[i]

Stock price (from testing list) always multiplied with same constant coming from prediction. That's why predicted stock graph always matches original values. Neural network predictor returning always same value for any time value.

Please fix the code.

VivekPa commented 5 years ago

corrected issue