MATLAB: Recurrent neural network for real-time prediction

recurrent neural network

Hello,
I'd like to use first train RNN with dataset A contains input and targets and use the trained RNN to get prediction of dataset B with only input in it, but I encountered a problem that the function "preparets" requires targets and in reality I need RNN to give me the targets.

Best Answer

You can use
[ net tr Y E Xf Af ] = train( net, X, T, Xi, Ai );
where Y = net(X,Xi,Ai)
and E = gsubtract(T,Y)
Hope this helps.
Thank you for formally accepting my answer
Greg