Mar-13-2020, 05:53 PM
(Mar-13-2020, 05:25 PM)jefsummers Wrote: Code is incomplete so cannot test, but I think line 32 should be
predictions = model.predict(train_features)
and when you are ready to test change to test_features
and when you are ready to test change to test_features
Thanks for answer.
The "train_features" match the "X[train_size:]" and the code is running for both if i remove '[i]' in the predictions[i], but it's only return one columns of predictions, and i need for all my 40 targets for a trading strategy.
I'm sorry i can't upload all my code, but it is for my thesis and my thesis can be flaged as plagiarism if i upload it 1 to 1.
sincerly.