SlideShare a Scribd company logo
1 of 16
Download to read offline
Intro.to RNN
(Recurrent Neural
Network)
Machine learning Course
Introduction to RNN
1. What is RNN ?
2. Why to use RNN ?
3. When to use and not to use RNN ?
4. Applications on RNN.
What Is RNN ?
1. What is RNN ?
● A recurrent neural network (RNN) is a type of artificial neural network
which uses sequential data or time series data such as : Stock Price ,
Weather Data and Text.
● They are distinguished by their “memory” as they take information
from prior inputs to influence the current input and output , While
traditional deep neural networks assume that inputs and outputs are
independent of each other. (meaning of recurrent)
Simple Structure of RNN
Why to Use RNN ?
Why to use RNN ?
1. Sequential Data Processing: RNNs are designed to work with data that
occurs in a specific order, like text, time series, audio, or video.
2. Temporal Relationships: They are effective at modeling and
understanding temporal relationships in data, making them suitable for
tasks like predicting the next word in a sentence, recognizing speech, or
forecasting stock prices.
3. Variable-Length Sequences: RNNs can handle sequences of varying
lengths, making them flexible for tasks like language translation or
sentiment analysis on different-length sentences.
Why to use RNN ?
4. Contextual Understanding:RNNs maintain an internal state that allows them to
remember and utilize information from previous time steps, enabling them to consider
context when making predictions.
5. Natural Language Processing:RNNs are widely used in natural language processing tasks
like language generation, sentiment analysis, and machine translation, where
understanding the context of words in a sentence is crucial.
In summary, RNNs are used to process and understand data that unfolds over time, making
them a valuable tool for tasks involving sequences and temporal dependencies.
When to Use and not to Use RNN ?
When to use RNN ?
● Sequential Data: Use RNNs for tasks where the order of data
matters, such as time series analysis, natural language
processing, speech recognition, and video analysis.
● Variable-Length Sequences: RNNs are suitable for handling
sequences of varying lengths, making them flexible for tasks
like text classification or speech synthesis.
When to use RNN ?(2)
● Real-time Data Processing: RNNs are appropriate for
real-time applications like speech recognition and video
analysis, where data arrives sequentially and predictions
must be made incrementally.
● Small to Medium-sized Datasets: RNNs can perform well
with smaller datasets, as they can leverage their ability to
capture sequential patterns effectively.
When not to use RNN ?
● Long Dependencies: RNNs struggle with capturing very long-range
dependencies in data. If your task involves very long sequences.
● Structured Data: For structured data with well-defined features and no
inherent sequential order, traditional machine learning algorithms or
feedforward neural networks may be more suitable.
In summary, RNNs are valuable tool for tasks involving sequential data, but
they have limitations, and the choice of architecture depends on the specific
characteristics and requirements of your problem. Consider the nature of
your data and the challenges it presents when deciding whether to use RNNs
or explore alternative neural network architectures.
Applications on RNN.
1. Weather Forecasting
2. ChatBots
3. NLP (Natural Language Processing)=>(Text Generation , Machine
Translation)
4. Speech Recognition
5. Stock Market Prediction
6. Handwriting Recognition
7. HealthCare
8. Recommendation Systems
9. etc.
Examples on RNN
Team Members :)
1. Omar Mohamed ElDesoky 200255
2. Mohamed Tawfeq Mostafa 200299
3. Ziad Ahmed Abied 200154
4. Mohamed Ahmed Sayed 200291
5. AbdAlrahman Moamen Mohamed Shreif 200233
6. Mohamed Khaled Essa 200305
7. Mohamed Saeed Gaber 200316
8. Mahmoud Ahmed Soliman 200351
9. Sayed Ahmed Sayed 200174
Thanks …..

More Related Content

Similar to Intro.to RNN (Recurrent Neural Network).pdf

Sequence Modelling with Deep Learning
Sequence Modelling with Deep LearningSequence Modelling with Deep Learning
Sequence Modelling with Deep Learning
Natasha Latysheva
 
Phrase Structure Identification and Classification of Sentences using Deep Le...
Phrase Structure Identification and Classification of Sentences using Deep Le...Phrase Structure Identification and Classification of Sentences using Deep Le...
Phrase Structure Identification and Classification of Sentences using Deep Le...
ijtsrd
 
Automatic Personality Prediction with Attention-based Neural Networks
Automatic Personality Prediction with Attention-based Neural NetworksAutomatic Personality Prediction with Attention-based Neural Networks
Automatic Personality Prediction with Attention-based Neural Networks
Jinho Choi
 
Transfer_Learning_for_Natural_Language_P_v3_MEAP.pdf
Transfer_Learning_for_Natural_Language_P_v3_MEAP.pdfTransfer_Learning_for_Natural_Language_P_v3_MEAP.pdf
Transfer_Learning_for_Natural_Language_P_v3_MEAP.pdf
oranisalcani
 

Similar to Intro.to RNN (Recurrent Neural Network).pdf (20)

NLP Techniques for Text Generation.docx
NLP Techniques for Text Generation.docxNLP Techniques for Text Generation.docx
NLP Techniques for Text Generation.docx
 
Nlpnn
NlpnnNlpnn
Nlpnn
 
Deep Learning Architectures for NLP (Hungarian NLP Meetup 2016-09-07)
Deep Learning Architectures for NLP (Hungarian NLP Meetup 2016-09-07)Deep Learning Architectures for NLP (Hungarian NLP Meetup 2016-09-07)
Deep Learning Architectures for NLP (Hungarian NLP Meetup 2016-09-07)
 
IRJET- Survey on Deep Learning Approaches for Phrase Structure Identification...
IRJET- Survey on Deep Learning Approaches for Phrase Structure Identification...IRJET- Survey on Deep Learning Approaches for Phrase Structure Identification...
IRJET- Survey on Deep Learning Approaches for Phrase Structure Identification...
 
Sequence Modelling with Deep Learning
Sequence Modelling with Deep LearningSequence Modelling with Deep Learning
Sequence Modelling with Deep Learning
 
Understanding deep learning
Understanding deep learningUnderstanding deep learning
Understanding deep learning
 
Natural Language Processing Advancements By Deep Learning: A Survey
Natural Language Processing Advancements By Deep Learning: A SurveyNatural Language Processing Advancements By Deep Learning: A Survey
Natural Language Processing Advancements By Deep Learning: A Survey
 
Recurrent Neural Network
Recurrent Neural NetworkRecurrent Neural Network
Recurrent Neural Network
 
Google Duplex
Google DuplexGoogle Duplex
Google Duplex
 
Phrase Structure Identification and Classification of Sentences using Deep Le...
Phrase Structure Identification and Classification of Sentences using Deep Le...Phrase Structure Identification and Classification of Sentences using Deep Le...
Phrase Structure Identification and Classification of Sentences using Deep Le...
 
[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx
[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx
[DSC MENA 24] Nada_GabAllah_-_Advancement_in_NLP_and_Text_Analytics.pptx
 
subrat
 subrat subrat
subrat
 
[IJET-V2I1P13] Authors:Shilpa More, Gagandeep .S. Dhir , Deepak Daiwadney and...
[IJET-V2I1P13] Authors:Shilpa More, Gagandeep .S. Dhir , Deepak Daiwadney and...[IJET-V2I1P13] Authors:Shilpa More, Gagandeep .S. Dhir , Deepak Daiwadney and...
[IJET-V2I1P13] Authors:Shilpa More, Gagandeep .S. Dhir , Deepak Daiwadney and...
 
PDF OCR
PDF OCRPDF OCR
PDF OCR
 
Automatic Personality Prediction with Attention-based Neural Networks
Automatic Personality Prediction with Attention-based Neural NetworksAutomatic Personality Prediction with Attention-based Neural Networks
Automatic Personality Prediction with Attention-based Neural Networks
 
Building a Neural Machine Translation System From Scratch
Building a Neural Machine Translation System From ScratchBuilding a Neural Machine Translation System From Scratch
Building a Neural Machine Translation System From Scratch
 
LSTM Based Sentiment Analysis
LSTM Based Sentiment AnalysisLSTM Based Sentiment Analysis
LSTM Based Sentiment Analysis
 
IRJET - Audio Emotion Analysis
IRJET - Audio Emotion AnalysisIRJET - Audio Emotion Analysis
IRJET - Audio Emotion Analysis
 
240115_Attention Is All You Need (2017 NIPS).pptx
240115_Attention Is All You Need (2017 NIPS).pptx240115_Attention Is All You Need (2017 NIPS).pptx
240115_Attention Is All You Need (2017 NIPS).pptx
 
Transfer_Learning_for_Natural_Language_P_v3_MEAP.pdf
Transfer_Learning_for_Natural_Language_P_v3_MEAP.pdfTransfer_Learning_for_Natural_Language_P_v3_MEAP.pdf
Transfer_Learning_for_Natural_Language_P_v3_MEAP.pdf
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Intro.to RNN (Recurrent Neural Network).pdf

  • 2. Introduction to RNN 1. What is RNN ? 2. Why to use RNN ? 3. When to use and not to use RNN ? 4. Applications on RNN.
  • 4. 1. What is RNN ? ● A recurrent neural network (RNN) is a type of artificial neural network which uses sequential data or time series data such as : Stock Price , Weather Data and Text. ● They are distinguished by their “memory” as they take information from prior inputs to influence the current input and output , While traditional deep neural networks assume that inputs and outputs are independent of each other. (meaning of recurrent)
  • 6. Why to Use RNN ?
  • 7. Why to use RNN ? 1. Sequential Data Processing: RNNs are designed to work with data that occurs in a specific order, like text, time series, audio, or video. 2. Temporal Relationships: They are effective at modeling and understanding temporal relationships in data, making them suitable for tasks like predicting the next word in a sentence, recognizing speech, or forecasting stock prices. 3. Variable-Length Sequences: RNNs can handle sequences of varying lengths, making them flexible for tasks like language translation or sentiment analysis on different-length sentences.
  • 8. Why to use RNN ? 4. Contextual Understanding:RNNs maintain an internal state that allows them to remember and utilize information from previous time steps, enabling them to consider context when making predictions. 5. Natural Language Processing:RNNs are widely used in natural language processing tasks like language generation, sentiment analysis, and machine translation, where understanding the context of words in a sentence is crucial. In summary, RNNs are used to process and understand data that unfolds over time, making them a valuable tool for tasks involving sequences and temporal dependencies.
  • 9. When to Use and not to Use RNN ?
  • 10. When to use RNN ? ● Sequential Data: Use RNNs for tasks where the order of data matters, such as time series analysis, natural language processing, speech recognition, and video analysis. ● Variable-Length Sequences: RNNs are suitable for handling sequences of varying lengths, making them flexible for tasks like text classification or speech synthesis.
  • 11. When to use RNN ?(2) ● Real-time Data Processing: RNNs are appropriate for real-time applications like speech recognition and video analysis, where data arrives sequentially and predictions must be made incrementally. ● Small to Medium-sized Datasets: RNNs can perform well with smaller datasets, as they can leverage their ability to capture sequential patterns effectively.
  • 12. When not to use RNN ? ● Long Dependencies: RNNs struggle with capturing very long-range dependencies in data. If your task involves very long sequences. ● Structured Data: For structured data with well-defined features and no inherent sequential order, traditional machine learning algorithms or feedforward neural networks may be more suitable. In summary, RNNs are valuable tool for tasks involving sequential data, but they have limitations, and the choice of architecture depends on the specific characteristics and requirements of your problem. Consider the nature of your data and the challenges it presents when deciding whether to use RNNs or explore alternative neural network architectures.
  • 13. Applications on RNN. 1. Weather Forecasting 2. ChatBots 3. NLP (Natural Language Processing)=>(Text Generation , Machine Translation) 4. Speech Recognition 5. Stock Market Prediction 6. Handwriting Recognition 7. HealthCare 8. Recommendation Systems 9. etc.
  • 15. Team Members :) 1. Omar Mohamed ElDesoky 200255 2. Mohamed Tawfeq Mostafa 200299 3. Ziad Ahmed Abied 200154 4. Mohamed Ahmed Sayed 200291 5. AbdAlrahman Moamen Mohamed Shreif 200233 6. Mohamed Khaled Essa 200305 7. Mohamed Saeed Gaber 200316 8. Mahmoud Ahmed Soliman 200351 9. Sayed Ahmed Sayed 200174