Using Recurrent Neural Networks in DL4J - Deeplearning4j: Open-source, Distributed Deep Learning for the JVM

#artificialintelligence 

For example, suppose we want to use a RNN to predict the weather, one hour in advance (based on the weather at say the previous 100 hours as input). If we were to use the output method, at each hour we would need to feed in the full 100 hours of data to predict the weather for hour 101. Then to predict the weather for hour 102, we would need to feed in the full 100 (or 101) hours of data; and so on for hours 103 . Alternatively, we could use the rnnTimeStep method.