• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 13 pages
Exam (elaborations)

CS231N: Convolutional Neural Networks for Visual Recognition (Stanford University, Spring 2019) – Sample Midterm Exam with Solutions

Document preview thumbnail
Preview 2 out of 13 pages

This document is a complete sample midterm exam for the CS231N course at Stanford University, focused on convolutional neural networks and deep learning. It includes True/False, multiple choice, short answer, and diagram-based questions, each accompanied by detailed solutions. Covers key topics like gradient checking, activation functions, backpropagation, convolutional architectures, and optimization.

Content preview

Medboost sources stuvia




CS 231N
Convolutional Neural Networks for
Visual Recognition Spring 2019 Sample
Midterm Exam
May 7, 2019


Full Name:



Question Score
True/False (20 pts)
Multiple Choice (40 pts)
Short Answer (40 pts)
Total (100 pts)

Welcome to the CS231N Midterm Exam!

• The exam is 1 hour 15 minutes.
• No notes or electronic devices are allowed.


I understand and agree to uphold the Stanford Honor Code during this exam.




Signature: Date:




1

, Medboost sources stuvia




1 True / False (20 points)
Fill in the circle next to True or False, or fill in neither. Fill it in completely like this: ●.
No explanations are required.
Scoring: Correct answer is worth 2 points. To discourage guessing, incorrect answers are worth -1 points.
Leaving a question blank will give 0 points.


1. Your Neural Network is not gradient checking. It could be that it’s because you’re using the AdaGrad
update instead of Vanilla SGD.
◯ True
◯ False

SOLUTION:
False. Gradient check happens before multiplication with learning rates.
2. If the input to a ConvNet is a zero image (all zeros), then the class probabilities will come out uniform.
◯ True
◯ False


SOLUTION:
False. May have nonuniform bias terms.
3. Turning off L2 weight regularization will likely lead to higher accuracy on the training set.
◯ True
◯ False


SOLUTION:
True. Turning off regularization increases chances of overfitting, which may give us higher accuracy on
the training set.
4. It’s sufficient for symmetry breaking (i.e. there will be no symmetry in the weights after some updates)
in a Neural Network to initialize all weights to 0, provided that the biases are random.
◯ True
◯ False

SOLUTION:
True. Non-zero asymmetric biases contribute to non-zero asymmetric upstream gradients, which when
combined with asymmetric layer input gives us asymmetric gradients for the weights.See the following
diagrams for a 2 layer neural network:




2

Document information

Uploaded on
June 27, 2025
Number of pages
13
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.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

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
MEDBOOST
2.0
(2)
Sold
12
Followers
1
Items
202
Last sold
1 month 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