Deep Learning Intro
- 34Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
34 questions
- 1Logistic regression can be interpreted as a specific case of a neural network with a single_____.
Hint
Think of the smallest building block of a neural network.
Answer
neuron
- 2A 64x64 color image is represented by a 3D matrix of size 64x64x_____.
Hint
Consider the number of color channels in a typical color image.
Answer
3
- 3To use logistic regression, the image matrix is flattened into a_____.
Hint
Think of reducing the dimensionality of the input to a 1D structure.
Answer
vector
- 4In logistic regression, the linear part is computed as $wx +_____,wherex$ is the input.
Hint
This term is often called the bias or intercept.
Answer
b
- 5The sigmoid function maps any real number to a value between 0 and_____.
Hint
It squashes the output to a probability-like range.
Answer
1
- 6If input x is a column vector of size 12288x1, then w must be a row vector of size 1 x_____.
Hint
The dimensions must match for the dot product to work.
Answer
12288
- 7For input size n=12288, logistic regression has_____weights and 1 bias.
Hint
Each input feature has a corresponding weight.
Answer
12288
- 8The training process involves initialization, optimization, and_____.
Hint
After finding good parameters, you use the model for its intended purpose.
Answer
prediction
- 9The logistic loss function is derived from_____estimation.
Hint
It is a common statistical method for estimating parameters.
Answer
maximum likelihood
- 10In gradient descent, parameters are updated by subtracting the learning rate times the_____.
Hint
It indicates the direction of steepest ascent.
Answer
derivative
- 11A neuron consists of a linear part and an_____part.
Hint
This part introduces non-linearity.
Answer
activation
- 12Model equals architecture plus_____.
Hint
These are the learned values that define the model's behavior.
Answer
parameters
- 13To classify three types of animals, we use three_____in the output layer.
Hint
Each output unit corresponds to one class.
Answer
neurons
- 14Square brackets in the notation indicate the_____number.
Hint
It identifies which layer a variable belongs to.
Answer
layer
- 15If each neuron has a weight vector of size n, a three-neuron output layer has_____weights.
Hint
Multiply the number of neurons by the input size.
Answer
3n
- 16In a multi-neuron output layer with sigmoid, the neurons are trained_____from each other.
Hint
They do not share information during training.
Answer
independently
- 17Softmax outputs a probability distribution over classes, so they sum to_____.
Hint
Probabilities must satisfy this property.
Answer
1
- 18The loss function for softmax regression is called_____loss.
Hint
It measures the difference between two probability distributions.
Answer
cross-entropy
- 19The function that is zero for negative inputs and linear for positive inputs is called_____.
Hint
It stands for Rectified Linear Unit.
Answer
ReLU
- 20For regression, the loss function often used is the_____loss.
Hint
It is based on the squared difference.
Answer
L2
- 21Layers in a neural network consist of neurons that are_____connected to each other.
Hint
They do not have connections within the same layer.
Answer
not
- 22A layer that is neither the input nor the output layer is called a_____layer.
Hint
It is 'hidden' from direct input and output.
Answer
hidden
- 23In a fully connected layer, every neuron in one layer is connected to every neuron in the_____layer.
Hint
Connections go forward to the subsequent layer.
Answer
next
- 24For a network with input size n, hidden layer size 3, second hidden size 2, and output size 1, the total number of biases is_____.
Hint
Count the bias for each layer.
Answer
6
- 25The forward propagation for layer l computes $Z^{[l]} = W^{[l]} A^{[l-1]} +_____$.
Hint
It is the bias vector for that layer.
Answer
b[l]
- 26If there are 3 neurons in the first hidden layer, Z[1] has shape_____.
Hint
It is a column vector with one element per neuron.
Answer
3 by 1
- 27When processing m examples in a batch, the input X becomes a matrix of size n by_____.
Hint
Each column is one example.
Answer
m
- 28To add a bias vector to a matrix with m columns, we use a technique called_____.
Hint
It replicates the vector to match the matrix size automatically.
Answer
broadcasting
- 29The cost function J is the average of the_____functions over all training examples.
Hint
It aggregates individual errors.
Answer
loss
- 30Backpropagation computes derivatives using the_____rule.
Hint
It allows decomposing complex derivatives.
Answer
chain
- 31In backpropagation, we start computing derivatives from the layer closest to the_____.
Hint
The layer that directly affects the loss.
Answer
output
- 32The derivative of z[3] with respect to w[3] is the transpose of_____.
Hint
It involves the activation of the previous layer.
Answer
a[2]
- 33The first layers of a neural network trained on images often learn to detect_____.
Hint
Simple visual features like lines and boundaries.
Answer
edges
- 34Training a neural network directly from input to output without hand-engineered features is called_____learning.
Hint
The model learns all processing stages itself.
Answer
end-to-end

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