I just can't understand how should I compute the output of a neural network, which contains a recurrent connection.
So here is an example (I can't post images yet..): https://i.stack.imgur.com/ngEbq.png
(i_1,2 are the input values, w_1,2,3,r are the connection weights, and o_1 is the output value.)
For the sake of simplicity, let's say that there are no activation or transfer functions. If I understand the workings of ANNs correctly, then in case of not taking the red recurrent connection into consideration, the output is calculated as
o_1=(w_1*i_1+w_2*i_2)*w_3
However, what is the case when the red connection is taken into account? Would it be
o_1=((w_1*i_1+w_2*i_2)+(w_1*i_1+w_2*i_2)*w_r)*w_3
maybe? But that's just my guess.
Thanks in advance.
A recurrent neural network (RNN) is a class of artificial neural network where connections between units form a directed cycle. Unlike feedforward neural networks, RNNs can use their internal memory to process arbitrary sequences of inputs.
To me, it seems like :
Note: Please note if this is homework.