Wunda Deeplearning.ai Notes (5-1) – Cyclic sequence model 1. Some sequence data examples
2. Mathematical symbols
X<1> x < 1 > x^{} input sequence x first word, tix T x i t_x^{i} input sequence x word number, x (i) <t> x (i) < T > x^{(i)} I input sequence T Word one-hot notation
3. Cyclic neural network model
Why not use traditional neural networks. input and output data can have different lengths in different instances, that is, Tx T x t_x and Ty T y t_y are not necessarily the same in each example; features learned from different positions in the text cannot be shared, for example, the location X1 x 1 x^1 appears Herry is part of a person's name, then Herry appears in other locations, such as the position XT x T X^t is also Herry, and we want it to automatically recognize the location as part of the person's name.
Cyclic neural Network (RNN)
RNN two representations of the legend, the RNN limit is at some point in the prediction of the use of only the sequence before the input information, does not use the information behind the sequence
RNN forward Propagation
A<T>=G1 (Waaa<t−1>+waxx<t>+ba) a < T > = G 1 (w A A A < t−1 > + w A x x < T > + b A ) a^{} = g_1 (w_{aa}a^{}+w_{ax}x^{}+b_a)