-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data model and shuffle? Why? #13
Comments
Because this is thoughtless junk code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can someone explain why the data is converted into a 3D array and also why we shuffle? Wouldn't this data be a time series so the order would matter?
#Convert the data to a 3D array (a x b x c)
#Shuffle the data np.random.shuffle(training_data)
I assume based on the outline the data would have an index for the day and then have a value for each of the fields he outlined but not sure why the time sequence wouldn't take a part in this and we would shuffle? My thought on the data format to feed into this would be a CSV with each feature value and the target being price but little confused.
The text was updated successfully, but these errors were encountered: