A basic LSTM network can be build from scracth with just a few hundred lines of code in R. My motivation for doing this project, was that I wanted to gain a deeper understanding of the inner operations of LSTM networks. It was the blog post by @Manik9 that sparked my interest, and this repo is based on the his python implementation.
Run LSTM R Implementation.rmd
for a minimal example of a LSTM network trying to predict the sequence c(0, 0.25, 0.50, 0.75, 1) by using Euclidean loss on the first element of each node's hidden layer.