If you do not set the lookback_length, the training process is much slower than if you set the lookback_length explicitly. The difference is more notable on larger data sets.
Here I set the lookback_length to be the same as prediction_length, the code runs fast. If I go with the default, i.e. lookback_length = prediction_length, the code is much slower.
If you do not set the
lookback_length
, the training process is much slower than if you set thelookback_length
explicitly. The difference is more notable on larger data sets. Here I set thelookback_length
to be the same asprediction_length
, the code runs fast. If I go with the default, i.e.lookback_length = prediction_length
, the code is much slower.Fit DeepState by setting the lookback length
Fit DeepState by not setting the lookback length
On larger data sets I've seen 8x difference.