RNN LSTM
RNN LSTM
Dang Vu Do - DSAI
2
What I cover in this slide
Feedforward Neural
Networks(FNNs)
process data in one
direction, from input
to output, without
retaining information
from previous inputs.
RNN unfolding,
or “unrolling,” is
RNN the process of
unfolding expanding the
recurrent
structure over
time steps.
RECURRENT NEURAL NETWORK (RNN)
Types of Neural Network
• Adjusting Wy At t = 3 , we have
• Adjusting
Ws
• Adjusting Wx
Long Short_Term Memory (LSTM)
• [h_t-1, x_t]
denotes the
concatenation of
the current input
and the previous
hidden state.
• Σ, tanh are
activation
functions.
Long Short_Term Memory (LSTM)
Forget Gate:
for a particular cell state the output is 0, the piece of
information is forgotten and for output 1, the information is
retained for future use
Long Short_Term Memory (LSTM)
Overall
THANK YOU
!
16