Skip to content
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

Open
boxxa opened this issue Apr 11, 2018 · 1 comment
Open

Data model and shuffle? Why? #13

boxxa opened this issue Apr 11, 2018 · 1 comment

Comments

@boxxa
Copy link

boxxa commented Apr 11, 2018

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.

@Hisairnessag3
Copy link

Because this is thoughtless junk code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants