S&P500 Index Prediction

Hello all,
Please let me know what mistakes I have done in the project . Any feedback would be highly appreciated.
Best Regards,


Stock Market Predictions.ipynb (61.5 KB)

Click here to view the jupyter notebook file in a new tab

Hi Gaurav

i think it is because you haven’t dropped the column ‘Adj Close’ before training and prediction.
It has the same values as the ‘Close’ column, so making a perfect prediction possible.

best wishes

1 Like

@gunnar.geissler Thanks a lot Gunnar for pointing out to drop “Adj Close”, that was a silly mistake. I have made the correction now.

@Sahil Can you please create a new link to the uploaded my modified jupyter notebook? Thanks in advance.