Correct selection of the y_train predictor #4
Unanswered
IgnatiusDean
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was reviewing your 012 Stock Market Prediction using Multivariate Time Series Models and Python.ipynb code as it does everything I am looking for (Time Series, Train/Test Split, and actual forecasts).
In Section 3 Preprocessing and Feature Selection, when splitting the train data set into the X Features and Y Outcome/Predictors, it appears to me that you are assigning the first column of the DF to the Y train data set.
When I execute this code it appears to me that 'column 0' in the train_data is the 'High' price, not the closing or opening prioe. Ultimately predicting the highest sale/purchase price for the next day... Is this a correct interpretation?
If so, if we wanted to predict the closing price, we could use
Looking forwar
Beta Was this translation helpful? Give feedback.
All reactions