SlideShare a Scribd company logo
Yan Xu
Houston Machine Learning Meetup
May 20, 2017
Introduction to Recurrent Neural Network
Roadmap
• Tour of machine learning algorithms (1 session)
• Feature engineering (1 session)
• Feature selection - Yan
• Supervised learning (4 sessions)
• Regression models -Yan
• SVM and kernel SVM - Yan
• Tree-based models - Dario
• Bayesian method - Xiaoyang
• Ensemble models - Yan
• Unsupervised learning (3 sessions)
• K-means clustering
• DBSCAN - Cheng
• Mean shift
• Agglomerative clustering – Kunal
• Spectral clustering – Yan
• Dimension reduction for data visualization - Yan
• Deep learning (4 sessions)
• Neural network - Yan
• Convolutional neural network – Hengyang Lu
• Recurrent neural networks – Yan
• Hands-on session with deep nets
Slides posted on:
http://www.slideshare.net/xuyangela
More deep learning coming up!
• Optimization in Deep learning
• Behind AlphaGo
• Mastering the game of Go with deep neural networks
and tree search
• Deep learning showcase: Share your experience!
Outline
• Recap on neural network
• Recurrent neural network overview
• Application of RNN
• Long short term memory network
• An example
Recap: Feed-forward neural network
Activation
function
Activation function
rectified linear unit (ReLU)
Training with gradient descent
Convolutional Neural Network
Full-connected
neural nets
Convolutional
neural nets
(kernel size = 2)
Recurrent NN: Considering Sequence
Recurrent Neural Network
http://colah.github.io/posts/2015-08-Understanding-LSTMs/
Weights are kept the same in cell A!
Recurrent Neural Network
http://colah.github.io/posts/2015-08-Understanding-LSTMs/
Machine Translation
Conversation Bot
Image Description
Image Search
Write like Shakespeare
Wide application of RNN
Image
classification
Image
Captioning
Sentiment
analysis
Machine
translation
Labeling each
frame of video
Special RNN: LSTM NN
• Short term memory
• Long term memory
the clouds are in the sky
I grew up in China … I speak fluent Chinese.
Special RNN: LSTM NN
SLTM in products!
• Google Translate
• Apple Siri
• Amazon Alexa
Cell
https://www.youtube.com/watch?v=93rzMHtYT_0
LSTM
http://colah.github.io/posts/2015-08-Understanding-LSTMs/
Keep gate
N × 1 M × 1
(N+M) × 1N × (N+M)
N × 1 N × 1N × 1
http://colah.github.io/posts/2015-08-Understanding-LSTMs/
Write Gate
http://colah.github.io/posts/2015-08-Understanding-LSTMs/
Update cell state
http://colah.github.io/posts/2015-08-Understanding-LSTMs/
Read gate
http://colah.github.io/posts/2015-08-Understanding-LSTMs/
Training LSTM
• Back propagates like feed-forward nets
• Sum up all updates and applied to all
Example: Predicting next word
https://medium.com/towards-data-science/lstm-by-example-using-tensorflow-feb0c1968537
Each word represented by an integer. Output is a one-hot vector.
512 hidden units
Improvement?
Example: Predicting next word
Generating a story!
Input: a general council
had a general council to consider what measures they could take to outwit their
common enemy , the cat . some said this , and some said that but at last a young
mouse got
Input: mouse mouse mouse
mouse mouse mouse , neighbourhood and could receive a outwit always the neck
of the cat . some said this , and some said that but at last a young mouse got up
and said
Great reference
• http://colah.github.io/posts/2015-08-Understanding-LSTMs/
• https://medium.com/@ageitgey/machine-learning-is-fun-part-5-language-
translation-with-deep-learning-and-the-magic-of-sequences-2ace0acca0aa
• Visualizing and Understanding RNN:
• https://skillsmatter.com/skillscasts/6611-visualizing-and-understanding-recurrent-networks
Summary
• Learn about RNN, how it relates to feed forward NN
• Long short term memory RNN
• Keep gate
• Write gate
• Read gate
• Application and Example
Roadmap
• Tour of machine learning algorithms (1 session)
• Feature engineering (1 session)
• Feature selection - Yan
• Supervised learning (4 sessions)
• Regression models -Yan
• SVM and kernel SVM - Yan
• Tree-based models - Dario
• Bayesian method - Xiaoyang
• Ensemble models - Yan
• Unsupervised learning (3 sessions)
• K-means clustering
• DBSCAN - Cheng
• Mean shift
• Agglomerative clustering – Kunal
• Spectral clustering – Yan
• Dimension reduction for data visualization - Yan
• Deep learning (4 sessions)
• Neural network - Yan
• Convolutional neural network – Hengyang Lu
• Recurrent neural networks – Yan
• Hands-on session with deep nets
Slides posted on:
http://www.slideshare.net/xuyangela
More deep learning
coming up!
Thank you
Data Disruptors Conference, ddc (energy)
@ Houston, June 14
PROMO: HEDS99 to get 99$ off
Slides will be posted at: http://www.slideshare.net/xuyangela
Leave a
group
review
please 

More Related Content

PPTX
PDF
Sequence Modelling with Deep Learning
PDF
Recurrent Neural Networks, LSTM and GRU
PPTX
RNN & LSTM: Neural Network for Sequential Data
PPTX
Recurrent neural network
PDF
Recurrent Neural Networks. Part 1: Theory
PPTX
RNN-LSTM.pptx
PDF
Convolutional neural network
Sequence Modelling with Deep Learning
Recurrent Neural Networks, LSTM and GRU
RNN & LSTM: Neural Network for Sequential Data
Recurrent neural network
Recurrent Neural Networks. Part 1: Theory
RNN-LSTM.pptx
Convolutional neural network

What's hot (20)

PPTX
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
PPTX
PDF
Introduction to Recurrent Neural Network
PDF
Recurrent Neural Networks (RNN) | RNN LSTM | Deep Learning Tutorial | Tensorf...
PPTX
1.Introduction to deep learning
PDF
Deep learning - A Visual Introduction
PDF
Convolutional Neural Networks (CNN)
PDF
Recurrent neural networks rnn
PDF
Long Short Term Memory
PPTX
What Is A Neural Network? | How Deep Neural Networks Work | Neural Network Tu...
PDF
Artificial Neural Networks Lect3: Neural Network Learning rules
PPTX
Deep learning
PDF
An introduction to Deep Learning
PPTX
Introduction to Deep Learning
PDF
Deep Learning - Convolutional Neural Networks
PDF
RNN and its applications
PPTX
Convolutional Neural Networks
PDF
Introduction to Transformers for NLP - Olga Petrova
PPTX
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
PPTX
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Introduction to Recurrent Neural Network
Recurrent Neural Networks (RNN) | RNN LSTM | Deep Learning Tutorial | Tensorf...
1.Introduction to deep learning
Deep learning - A Visual Introduction
Convolutional Neural Networks (CNN)
Recurrent neural networks rnn
Long Short Term Memory
What Is A Neural Network? | How Deep Neural Networks Work | Neural Network Tu...
Artificial Neural Networks Lect3: Neural Network Learning rules
Deep learning
An introduction to Deep Learning
Introduction to Deep Learning
Deep Learning - Convolutional Neural Networks
RNN and its applications
Convolutional Neural Networks
Introduction to Transformers for NLP - Olga Petrova
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
Ad

Similar to Introduction to Recurrent Neural Network (20)

PPT
14889574 dl ml RNN Deeplearning MMMm.ppt
PPTX
Deep Learning and Watson Studio
PPTX
Recurrent Neural Network
PDF
Deep Learning for Personalized Search and Recommender Systems
PDF
Recurrent Neural Networks
PPTX
10.0 SequenceModeling-merged-compressed_edited.pptx
PDF
Video Analysis with Recurrent Neural Networks (Master Computer Vision Barcelo...
PDF
Deep Recurrent Neural Networks for Sequence Learning in Spark by Yves Mabiala
PDF
Recurrent Neural Networks (DLAI D7L1 2017 UPC Deep Learning for Artificial In...
PDF
Animesh Prasad and Muthu Kumar Chandrasekaran - WESST - Basics of Deep Learning
PPTX
Introduction to deep learning
PDF
Deep Learning: Application & Opportunity
PDF
Convolutional and Recurrent Neural Networks
PDF
Recurrent Neural Networks
PDF
Lecture 9 - Deep Sequence Models, Learn Recurrent Neural Networks (RNN), GRU ...
PPTX
Computer vision lab seminar(deep learning) yong hoon
PDF
Rnn presentation 2
PDF
From neural networks to deep learning
PDF
Cheatsheet recurrent-neural-networks
PPTX
RNN-LSTM.pptx
14889574 dl ml RNN Deeplearning MMMm.ppt
Deep Learning and Watson Studio
Recurrent Neural Network
Deep Learning for Personalized Search and Recommender Systems
Recurrent Neural Networks
10.0 SequenceModeling-merged-compressed_edited.pptx
Video Analysis with Recurrent Neural Networks (Master Computer Vision Barcelo...
Deep Recurrent Neural Networks for Sequence Learning in Spark by Yves Mabiala
Recurrent Neural Networks (DLAI D7L1 2017 UPC Deep Learning for Artificial In...
Animesh Prasad and Muthu Kumar Chandrasekaran - WESST - Basics of Deep Learning
Introduction to deep learning
Deep Learning: Application & Opportunity
Convolutional and Recurrent Neural Networks
Recurrent Neural Networks
Lecture 9 - Deep Sequence Models, Learn Recurrent Neural Networks (RNN), GRU ...
Computer vision lab seminar(deep learning) yong hoon
Rnn presentation 2
From neural networks to deep learning
Cheatsheet recurrent-neural-networks
RNN-LSTM.pptx
Ad

More from Yan Xu (20)

PPTX
Kaggle winning solutions: Retail Sales Forecasting
PDF
Basics of Dynamic programming
PPTX
Walking through Tensorflow 2.0
PPTX
Practical contextual bandits for business
PDF
Introduction to Multi-armed Bandits
PDF
A Data-Driven Question Generation Model for Educational Content - by Jack Wang
PDF
Deep Learning Approach in Characterizing Salt Body on Seismic Images - by Zhe...
PDF
Deep Hierarchical Profiling & Pattern Discovery: Application to Whole Brain R...
PDF
Detecting anomalies on rotating equipment using Deep Stacked Autoencoders - b...
PDF
Introduction to Autoencoders
PPTX
State of enterprise data science
PDF
Deep Feed Forward Neural Networks and Regularization
PPTX
Linear algebra and probability (Deep Learning chapter 2&3)
PPTX
HML: Historical View and Trends of Deep Learning
PDF
Secrets behind AlphaGo
PPTX
Optimization in Deep Learning
PDF
Introduction to Neural Network
PDF
Nonlinear dimension reduction
PDF
Mean shift and Hierarchical clustering
PPTX
Spectral clustering - Houston ML Meetup
Kaggle winning solutions: Retail Sales Forecasting
Basics of Dynamic programming
Walking through Tensorflow 2.0
Practical contextual bandits for business
Introduction to Multi-armed Bandits
A Data-Driven Question Generation Model for Educational Content - by Jack Wang
Deep Learning Approach in Characterizing Salt Body on Seismic Images - by Zhe...
Deep Hierarchical Profiling & Pattern Discovery: Application to Whole Brain R...
Detecting anomalies on rotating equipment using Deep Stacked Autoencoders - b...
Introduction to Autoencoders
State of enterprise data science
Deep Feed Forward Neural Networks and Regularization
Linear algebra and probability (Deep Learning chapter 2&3)
HML: Historical View and Trends of Deep Learning
Secrets behind AlphaGo
Optimization in Deep Learning
Introduction to Neural Network
Nonlinear dimension reduction
Mean shift and Hierarchical clustering
Spectral clustering - Houston ML Meetup

Recently uploaded (20)

PPTX
Cell Membrane: Structure, Composition & Functions
PPTX
ANEMIA WITH LEUKOPENIA MDS 07_25.pptx htggtftgt fredrctvg
PDF
diccionario toefl examen de ingles para principiante
PPTX
TOTAL hIP ARTHROPLASTY Presentation.pptx
PDF
Sciences of Europe No 170 (2025)
PDF
Phytochemical Investigation of Miliusa longipes.pdf
PPTX
microscope-Lecturecjchchchchcuvuvhc.pptx
PPTX
DRUG THERAPY FOR SHOCK gjjjgfhhhhh.pptx.
PPTX
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
PDF
IFIT3 RNA-binding activity primores influenza A viruz infection and translati...
PPTX
7. General Toxicologyfor clinical phrmacy.pptx
PPTX
The KM-GBF monitoring framework – status & key messages.pptx
PPTX
2. Earth - The Living Planet Module 2ELS
PPTX
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
PPTX
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
PDF
HPLC-PPT.docx high performance liquid chromatography
PDF
Biophysics 2.pdffffffffffffffffffffffffff
PPTX
GEN. BIO 1 - CELL TYPES & CELL MODIFICATIONS
PPTX
Microbiology with diagram medical studies .pptx
PPTX
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
Cell Membrane: Structure, Composition & Functions
ANEMIA WITH LEUKOPENIA MDS 07_25.pptx htggtftgt fredrctvg
diccionario toefl examen de ingles para principiante
TOTAL hIP ARTHROPLASTY Presentation.pptx
Sciences of Europe No 170 (2025)
Phytochemical Investigation of Miliusa longipes.pdf
microscope-Lecturecjchchchchcuvuvhc.pptx
DRUG THERAPY FOR SHOCK gjjjgfhhhhh.pptx.
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
IFIT3 RNA-binding activity primores influenza A viruz infection and translati...
7. General Toxicologyfor clinical phrmacy.pptx
The KM-GBF monitoring framework – status & key messages.pptx
2. Earth - The Living Planet Module 2ELS
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
HPLC-PPT.docx high performance liquid chromatography
Biophysics 2.pdffffffffffffffffffffffffff
GEN. BIO 1 - CELL TYPES & CELL MODIFICATIONS
Microbiology with diagram medical studies .pptx
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...

Introduction to Recurrent Neural Network