Open chrisfischer opened 7 years ago
On line 170, you have
y_i = np.std(data_chng_train[i:i+window+forecast][3])
However, this would just pull the 3rd row out of the group of 30. I think what you meant to write was:
y_i = np.std(data_chng_train[i:i+window+forecast, 3])
But I still don't really understand what you are trying to do with np.std()
np.std()
On line 170, you have
y_i = np.std(data_chng_train[i:i+window+forecast][3])
However, this would just pull the 3rd row out of the group of 30. I think what you meant to write was:
y_i = np.std(data_chng_train[i:i+window+forecast, 3])
But I still don't really understand what you are trying to do with
np.std()