Closed Jonas121 closed 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.
corrected issue
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.