abr-98 / Stock_prediction_hybrid_model

A hybrid of ANN, RNN and Regressor models to predict stock prices
MIT License
42 stars 24 forks source link

Stock_predicter.ipynb: definition of y in 212 #1

Closed Ovi65 closed 4 years ago

Ovi65 commented 4 years ago

Thanks for your project.

In line 212 in Stock_predicter.ipynb you split the data: X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.3)

How have you defined y in this statement?

Thank you

abr-98 commented 4 years ago

y is y_df_mod.Values. y_df_mod is declared in lines 204 205.

I think it was somehow replaced during uploads by mistake.

Thank you for pointing out.