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.
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.