Does anybody know where can I find an example of LSTM via MXNet (R package)? The basic task is prediction of x[t + 1] value by x[1 ... t] sequence.
LSTM example to time series prediction via MXNet in R
Asked Answered
If you are still looking for it, there is this very nice blog explaining how to use RNN in mxnet with R bindings: https://www.r-bloggers.com/recurrent-models-and-examples-with-mxnetr/.
There is still no tutorial on application of R MXNet to the numeric time-series. The link posted and other tutorials work with sequences of words and perform a classification task. If someone would create one this would be very helpful. –
Szechwan
True but I think it should be relatively straightforward to replace the softmax output from this example by a mean squared error starting to adapt to numeric time-series. –
Hepsiba
I thought so, but it is more complicated. There are some other symbols that for example describe the dimension of output (which is the number of classes) and embedding size: output_dim=num.embed. Not sure how to convert that to a regression of one value ahead. –
Szechwan
mx.symbol.SoftmaxOutput should be replacable by LinearRegressionOutput. For the input, you can remove the embedding. –
Hepsiba
© 2022 - 2024 — McMap. All rights reserved.