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
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

CS 7643 QUIZ 4 EXAM WITH CORRECT ACTUAL QUESTIONS AND CORRECTLY WELL DEFINED ANSWERS LATEST ALREADY GRADED A+

Document preview thumbnail
Preview 2 out of 6 pages

CS 7643 QUIZ 4 EXAM WITH CORRECT ACTUAL QUESTIONS AND CORRECTLY WELL DEFINED ANSWERS LATEST ALREADY GRADED A+

Content preview

CS 7643 QUIZ 4 EXAM WITH CORRECT ACTUAL
QUESTIONS AND CORRECTLY WELL DEFINED
ANSWERS LATEST ALREADY GRADED A+

Save




Terms in this set (25)



Recurrent Neural Network (RNN) A RNN models sequential interactions through a
hidden state, or memory. It can take up to N
inputs and produce up to N outputs. For
example, an input sequence may be a sentence
with the outputs being the part-of-speech tag for
each word (N-to-N). An input could be a
sentence, and the output a sentiment
classification of the sentence (N-to-1). An input
could be a single image, and the output could be
a sequence of words corresponding to the
description of an image (1-to-N). At each time
step, an RNN calculates a new hidden state
("memory") based on the current input and the
previous hidden state. The "recurrent" stems from
the facts that at each step the same parameters
are used and the network performs the same
calculations based on different inputs

, LSTM (Long Short-Term Memory) the network was invented to prevent the
vanishing gradient problem in Recurrent Neural
Networks by using a memory gating mechanism.
Using LSTM units to calculate the hidden state in
an RNN we help to the network to efficiently
propagate gradients and learn long-range
dependencies




how do RNN and LSTM update LSTM networks update rule is cell state is
rules differ? updated in an additive way by adding something
to its previous value C_t-1, this differs from the
multiplicative update Rule of RNN.




Gradients for RNNs The gradient computation involves recurrent
multiplication of WW. This multiplying by WW to
each cell has a bad effect. Think like this: If you a
scalar (number) and you multiply gradients by it
over and over again for say 100 times, if that
number > 1, it'll explode the gradient and if < 1, it'll
vanish towards 0.

Document information

Uploaded on
July 11, 2026
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$23.49

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

Sold
3018
Followers
0
Items
1698
Last sold
15 hours ago




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