Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Brief summary of RNN

Rating
-
Sold
-
Pages
3
Uploaded on
22-02-2025
Written in
2024/2025

It describes mathematical summary of the RNNs. How these works.

Institution
Course

Content preview

Summary of Recurrent Neural Networks (RNNs)

Instructor: Jaskirat Singh
October 7, 2024


A Recurrent Neural Network (RNN) is a type of neural network designed to handle
sequential data by maintaining a memory of previous inputs, allowing it to capture temporal
dependencies. Here’s a detailed breakdown of the architecture of a simple RNN and how it
differs from a Feedforward Neural Network (FNN):


1 Architecture of a Simple RNN
Basic Structure: A simple RNN is characterized by its recurrent loop, which allows it to
pass information from one step to the next. In a standard RNN, each time step processes a
single element of the input sequence while maintaining a hidden state that captures historical
information.

• Input Sequence (xt ): The data is fed in as a sequence of vectors x1 , x2 , . . . , xT , where
T is the length of the sequence. For instance, this could be a time series of temperature
readings or words in a sentence.
• Hidden State (ht ): At each time step t, the RNN maintains a hidden state ht , which
is a summary of all previous inputs in the sequence up to that point. The hidden state is
updated recurrently, providing the model with a form of memory.

• Output (yt ): The output at each time step yt can be a prediction for that particular step,
like the next word in a sentence or a classification score.

Mathematical Representation: The hidden state at time step t, ht , is computed as:

ht = f (Whh ht−1 + Wxh xt + bh )
Where:
• f is a non-linear activation function, typically tanh or ReLU.
• Whh is the weight matrix for the hidden state from the previous time step.

• Wxh is the weight matrix for the current input.


1

Written for

Institution
Course

Document information

Uploaded on
February 22, 2025
Number of pages
3
Written in
2024/2025
Type
Class notes
Professor(s)
Jaskirat singh
Contains
All classes

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
shreyanshkhandelwal

Get to know the seller

Seller avatar
shreyanshkhandelwal Poornima University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions