| fit_LSTM | R Documentation | 
fit_LSTM is a wrapper function for fitting a LSTM model.
fit_LSTM(
  model,
  x,
  y,
  timesteps = 1L,
  batch_size = 1,
  epochs = 10,
  verbose = 1,
  validation_split = 0,
  cross_validation = NULL
)
| model | A model object to train, e.g. returned by  | 
| x | A feature data set, usually a matrix or data frame, returned by  | 
| y | An outcome data set, usually a vector, matrix or data frame, returned by  | 
| timesteps | A vector of timesteps for  | 
| batch_size | Batch size, the number of samples per gradient update within training process. | 
| epochs | Number of epochs to train the model. | 
| verbose | Verbosity mode (0 = silent, 1 = progress bar, 2 = one line per epoch) determines how the training progress is visualized. | 
| validation_split | Float between 0 and 1. Fraction of the training data used as validation data. | 
| cross_validation | List or  | 
A trained model object.
build_LSTM, get_LSTM_XY,
fit.keras.engine.training.Model, evaluate.keras.engine.training.Model.
Other Recurrent Neural Network (RNN): 
as_LSTM_X(),
as_LSTM_Y(),
as_LSTM_data_frame(),
as_LSTM_period_outcome(),
as_lag(),
as_timesteps(),
build_LSTM(),
get_LSTM_XY(),
get_period_shift(),
load_weights_ANN(),
predict_ANN(),
save_weights_ANN(),
start_invert_differencing()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.