Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: how to train dynamic neural network on multiple sequences
Replies: 5   Last Post: May 28, 2013 9:23 AM

 Messages: [ Previous | Next ]
 Greg Heath Posts: 6,387 Registered: 12/7/04
Re: how to train dynamic neural network on multiple sequences
Posted: May 26, 2013 2:19 PM

"Christian Vollmer" wrote in message <hjbq28\$al5\$1@fred.mathworks.com>...
> Hi,
>
> I'd like to train a layered recurrent network not only on a single sequence, but on multiple sequences.
> Suppose I have a set of input sequences (for example i1=[1 2 3] and i2=[1 2 2]). There is also a set of corresponding output sequences (for example t1=[2 3 4] and t2=[2 2 3]).
> One obvious way to train the network would be to concatenate all the input sequences to one big sequence i and all the target sequences to one big sequence t, then to convert them to cellarray via con2seq and then to train the network on that.

INCORRECT!

If there is no correlation between successive 3x1 sequences, then a dynamic network is inappropriate.

Instead, use a regression/curve-fitting net like FITNET or the obsolete NEWFIT.

The sizes of the input and target matrices should be

[ 3 N ] =size(input)
[ 3 N ]= size(output)

Hope this helps.

Greg

Date Subject Author
1/22/10 Christian Vollmer
1/25/10 YEO IN_CHEOL
5/24/13 Krishna Kumar
5/26/13 Greg Heath
5/28/13 Krishna Kumar
5/28/13 Krishna Kumar