Neural Networks & Gradient Descent
- 22Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
22 questions
- 1The input layer of the digit recognition network has_____neurons, one for each pixel in a 28x28 grid.
Hint
Each pixel corresponds to one neuron in the first layer.
Answer
784
- 2A neuron's activation is computed as the composition of a weighted sum of previous activations plus a_____with a non-linear function like sigmoid or ReLU.
Hint
It's a special number added to the weighted sum before applying the activation function.
Answer
bias
- 3The network described has two hidden layers with_____neurons each, for a total of about 13,000 weights and biases.
Hint
The number is small and even.
Answer
16
- 4The network classifies a digit by the_____of the 10 output neurons.
Hint
Think about which neuron has the highest activation value.
Answer
brightest
- 5The cost for a single training example is the sum of the squares of the differences between the actual output activations and the_____values.
Hint
The values we want the network to produce.
Answer
desired
- 6The average cost over all training examples is a measure of how_____the network is.
Hint
A synonym for bad or poor performance.
Answer
lousy
- 7The cost function takes about_____inputs (all weights and biases) and outputs a single number.
Hint
The approximate number of parameters in the network.
Answer
13,000
- 8The process of repeatedly moving in the direction of the negative gradient to minimize a function is called_____.
Hint
Think about rolling a ball downhill.
Answer
gradient descent
- 9In gradient descent, the step size is often proportional to the_____of the cost function at the current point.
Hint
The derivative (or gradient) magnitude indicates how steep the function is.
Answer
slope
- 10The gradient of a function points in the direction of steepest_____.
Hint
The opposite of descent.
Answer
ascent
- 11The length of the gradient vector indicates the_____of the steepest slope.
Hint
How rapidly the function changes in that direction.
Answer
steepness
- 12The algorithm for efficiently computing the gradient of the cost function is called_____.
Hint
It propagates errors backward through the network.
Answer
backpropagation
- 13The network's learning is equivalent to minimizing a_____function.
Hint
Also called a loss or objective function.
Answer
cost
- 14Neurons have continuous activations rather than binary ones to ensure the cost function is_____.
Hint
A property that allows gradient-based optimization.
Answer
smooth
- 15The network with two hidden layers of 16 neurons classifies about_____of new images correctly.
Hint
A high percentage, but not perfect.
Answer
96%
- 16When the weights from the first to second layer are visualized, they appear_____rather than picking up edges.
Hint
Not structured or meaningful.
Answer
random
- 17Given random noise as input, the network confidently outputs a_____answer.
Hint
It's incorrect but certain.
Answer
nonsense
- 18The network's training setup is tightly constrained because it only sees clearly defined, unmoving digits_____in a tiny grid.
Hint
Position of the digit in the image.
Answer
centered
- 19The network described is considered_____technology, researched mainly in the 80s and 90s.
Hint
It's not state-of-the-art anymore.
Answer
old
- 20In one cited paper, shuffling labels before training still allowed the network to achieve high_____accuracy, indicating memorization.
Hint
Performance on the data it was trained on.
Answer
training
- 21A follow-up paper showed that on structured data, the loss curve drops_____after an initial phase, indicating easier optimization.
Hint
Opposite of slowly.
Answer
fast
- 22Another paper suggested that for structured datasets, the local minima found by gradient descent are of_____quality.
Hint
Similar or same.
Answer
equal

Ask anything
We've read this whole study set, so questions about it get the best answers.