Skip to content
Advertisement

LSTM neural network test to predict SPY prices giving me this error after training

Error is as follows:

JavaScript

My Code is as follows:

JavaScript

Not sure what’s going on….

Advertisement

Answer

Just check you train dataset, there is no Open column there, so dataset_train['Open'] fails:

JavaScript

Output:

JavaScript

Maybe you want to use dataset_train['Value'] instead

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement