llSourcell / Reinforcement_Learning_for_Stock_Prediction

This is the code for "Reinforcement Learning for Stock Prediction" By Siraj Raval on Youtube
641 stars 363 forks source link

the model always predicts the same action #28

Open luismirallesp opened 5 years ago

luismirallesp commented 5 years ago

It is a bit strange but in the testing process, the model always predicts the same action. I watched more carefully what was happening and I saw that the output of the model was always the same one (independently of inputs I am giving to the model).

For example, [0.6701656 0.67643714 0.71922743] [0.6701656 0.67643714 0.71922743] [0.6701656 0.67643714 0.71922743] [0.6701656 0.67643714 0.71922743] [0.6701656 0.67643714 0.71922743] [0.6701656 0.67643714 0.71922743]

Has anyone experienced the same problem? Many thanks. Luis.

HenyDayDay commented 4 years ago

yeah I have the sample Experience