ts_lstm | R Documentation |
Creates a time series prediction object that uses the LSTM. It wraps the pytorch library.
ts_lstm(preprocess = NA, input_size = NA, epochs = 10000L)
preprocess |
normalization |
input_size |
input size for machine learning model |
epochs |
maximum number of epochs |
a ts_lstm
object.
#Use the same example of ts_mlp changing the constructor to:
model <- ts_lstm(ts_norm_gminmax(), input_size=4, epochs = 10000L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.