timeSeriesLengthin the above code with the length of that example.
.inputPreProcessor(2, new RnnToFeedForwardPreProcessor()).
MultiLayerNetwork.feedForward()methods. These methods can be useful in many circumstances; however, they have the limitation that we can only generate predictions for time series, starting from scratch each and every time.
rnnSetPreviousState(int layer, Map<String,INDArray> state)
MultiLayerNetwork.rnnClearPreviousState()method. This will reset the internal state of all recurrent layers in the network.
numPossibleLabelsare the same as the previous example. Here,
labelIndexspecifies which column the labels are in. For example, if the labels are in the fifth column, use labelIndex = 4 (i.e., columns are indexed 0 to numColumns-1).