Closed trevorwelch closed 6 years ago
@trevorwelch first of all, you can't use scaler.fit_transform(...)
for whole OHLCV_data_with_lag
- it's totally incorrect. You should use scaler.fit_transform(...)
for train set and after that scaler.transform(...)
for test set. Maybe it was a problem.
I'm working on a time-series classification on financial data (not regression, but similar).
I'm using
sklearn.StandardScaler()
although after reading all of your posts on Medium (thanks for the help!) I'm not entirely sure that I'm not screwing it up...I'm doing something like this to create 'lagged' data for the time window I'm trying to classify:
And then like this to prepare for
Conv1D
in Keras:I've gotten some decent accuracy, but I'm wondering if this is a faulty way to prepare the data...