This learner supports bidirectinal long short-term memory recurrent neural network algorithm. In order to use this learner, you will need keras Python module 2.0.0 or higher. Note that all preprocessing, such as differencing and seasonal effects for time series, should be addressed before using this learner.

Format

R6Class object.

Value

Lrnr_base object with methods for training and prediction

Fields

units

Positive integer, dimensionality of the output space.

loss

Name of a loss function used.

optimizer

name of optimizer, or optimizer object.

batch_size

Number of samples per gradient update.

epochs

Number of epochs to train the model.

window

Size of the sliding window input.

activation

The activation function to use.

dense

regular, densely-connected NN layer. Default is 1.

dropout

float between 0 and 1. Fraction of the input units to drop.