You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.
There is actually one fault that causes two errors:
the fault is when you load stock data, its order is ascending.
errors:
your training data is in reverse order, which might won't impact the result, but it is unreasonable in reality.
this error is actually series.
when you merge the training and test data, the dates are not continuous as marked with the red circle in the figure.
"dataset_total = pd.concat((dataset_train['Open'], dataset_test['Open']), axis = 0)"
actually, they should be re-ordered: dataset_test = dataset_test.sort_index(ascending=False).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is actually one fault that causes two errors:
the fault is when you load stock data, its order is ascending.
errors:
when you merge the training and test data, the dates are not continuous as marked with the red circle in the figure.
"dataset_total = pd.concat((dataset_train['Open'], dataset_test['Open']), axis = 0)"
actually, they should be re-ordered: dataset_test = dataset_test.sort_index(ascending=False).
The text was updated successfully, but these errors were encountered: