Relative Content

Tag Archive for pythontensorflowmachine-learningpredictionstock

Cannot find where data is being leaked in stock price prediction model

I trained a model on AAPL’s stock data from the beginning of 2010 to the beginning of 2021. However, I noticed that whenever I ask it to predict for the beginning of 2021 to the end of 2021, it somehow seems to come up with the exactly perfect answer, likely because some data is being leaked to the model. However, I can’t seem to find where the data is being leaked. Any help would be appreciated, thank you!