Neural-Net-with-Financial-Time-Series-Data icon indicating copy to clipboard operation
Neural-Net-with-Financial-Time-Series-Data copied to clipboard

One file in your Package called 'Old Version' has a serious problem

Open MoZeWei opened this issue 6 years ago • 1 comments

In this code, I dont know whether you thought it's wrong but forgot to delete it. I found that your X_train includes the target called 'adj_close' which is in y_train. So, in that code, you are not predicting it because the adj_close is for that day instead of the day after it, it's like a leakage. So I am confused and I want to hear your expaination if I am wrong. Thank you.

MoZeWei avatar Nov 15 '18 07:11 MoZeWei

Hi, can you show me the file?

BenjiKCF avatar Nov 15 '18 07:11 BenjiKCF