twodlearn.templates.recurrent module¶
-
class
twodlearn.templates.recurrent.
Mlp2LstmEstimator
(options=None, logger_path='tmp', session=None, **kargs)[source]¶
-
twodlearn.templates.recurrent.
next_batch_for_narx
(dataset, window_size, n_steps, batch_size)[source]¶ Returns a batch in a narx format: x0, y, inputs. :param dataset: time series dataset. :type dataset: TSDataset :param window_size: number of steps to include in x0. :type window_size: int :param n_steps: number of steps to include in y and u. :type n_steps: int :param batch_size: number of samples in the batch. :type batch_size: int
- Returns
batch.
- Return type
(x0, y, u)