Professional Documents
Culture Documents
Unit 5
Unit 5
Dr. D. SUDHEER
Assistant Professor
Department of CSE
VNR VJIET (NAAC: A++, NIRF: 113)
Hyderabad, Telangana.
• Sentiment analysis
• Language translation
• Music composition
• product recommendation
• voice recognition
• stock market prediction
• medical diagnosis
• spam detection
A
LSTM
LSTM
Long-term-memory Short-term-memory
input Gate
output
Forget 1 2 3
Gate
Gate
LSTM
Pass
Forget
updated
irrelevant
informatio
informatio
n
n New updated
information ©Dr. SUDHEER DEVULAPALLI 41
Layers of RNN
There two important layers: 1. Embedding 2. LSTM
1. Embedding
• It is useful to convert positive integers to vector of values.
• Fixed range of input values should be provide this layer.
• It will be more useful in language translation to understand the meaning.
Embedding(input_dim,output_dim,input_length)
LSTM(input_units,return_sequences=True)