Recall & Review
beginner
What is the main purpose of pooling layers in a neural network?
Pooling layers reduce the size of the input feature maps, helping to lower computation and control overfitting by summarizing features in small regions.
Click to reveal answer
beginner
What does MaxPooling do to the input data?
MaxPooling selects the maximum value from each small region (window) of the input, keeping the strongest feature in that area.
Click to reveal answer
beginner
How does Average Pooling differ from MaxPooling?
Average Pooling calculates the average value of each small region instead of the maximum, providing a smoother summary of features.
Click to reveal answer
beginner
In TensorFlow, which layer would you use for 2D max pooling?
You use tf.keras.layers.MaxPooling2D for 2D max pooling in TensorFlow.
Click to reveal answer
beginner
Why is pooling important for image data in convolutional neural networks?
Pooling reduces image size while keeping important features, which helps the model learn faster and be less sensitive to small shifts or noise.
Click to reveal answer
What does MaxPooling do in a convolutional neural network?
✗ Incorrect
MaxPooling picks the maximum value from each small region to keep the strongest feature.
Which TensorFlow layer is used for average pooling on 2D data?
✗ Incorrect
AveragePooling2D computes the average of values in each region for 2D inputs.
Pooling layers help to:
✗ Incorrect
Pooling layers reduce feature map size to lower computation and help generalize the model.
Which pooling method smooths features by averaging values?
✗ Incorrect
AveragePooling calculates the average value in each region, smoothing the features.
What is a common kernel size for pooling layers?
✗ Incorrect
2x2 is a common kernel size that balances detail and size reduction.
Explain how MaxPooling and AveragePooling work and why they are useful in convolutional neural networks.
Think about how pooling summarizes information in small areas.
You got /5 concepts.
Describe how you would add a MaxPooling layer in a TensorFlow model and what parameters you might set.
Consider the layer name and common arguments for pooling.
You got /4 concepts.