L10 - CNN’s 2 Flashcards
1
Q
- What is a Feature Map?
A
- Map of the match between filter and image at every spot.
- Represents where that particular pattern was found.
- Every filter results in 1 feature map
2
Q
- What is the ReLU function? What’s its purpose?
A
- An activation function that introduces non-linearity into a neural network
- Enables modelling of more complex relationships in data
- Determines quality of the filter match
3
Q
- How does the ReLU activation function operate?
A
- Converts all negative values to 0
- Leaves all positive values
4
Q
- What is the ReLU applied to?
A
- A feature map, resulting in a feature map with values of only 0 and above
5
Q
- What is downsampling?
A
- The process of reducing the dimensionality of data
6
Q
- Why is downsampling important in Computer Vision?
A
- Images are very data intensive, thus, have high dimensionality.
- Reducing dimensionality improves performance and makes processing more manageable
7
Q
- What are some issues with downsampling?
A
- Information loss -> Reducing dimensionality reduces the information of the image which can lead to poor model performance is vital details and patterns are removed.
- Overfitting -> Reducing data may make model prone to learning noise rather than underlying patterns of image.
- Introduce bias
8
Q
- What is considered the correct technique of downsampling?
A
- Pooling
9
Q
- What is Pooling?
A
- Technique for reducing dimensionality of image data.
- Applied after ReLU function has been applied to the feature map in order to further decrease the dimensions.
10
Q
- What is the general idea of pooling?
A
- Aggregates a group of pixel via their average or max.
11
Q
- When is pooling applied?
A
- After ReLU function has been applied to the feature map.
12
Q
- What is the end result of downsampling?
A
- A pooled feature map that is small enough so it becomes a traditional ML problem.
13
Q
- What is Padding and Stride?
A
- Padding -> Increases data dimensions so filter can better pick up border features of image.
- Stride -> Move the filter a customer amount over the image
14
Q
- What are the effects of a higher stride or lower stride?
A
- Higher -> Reduces feature map size, picks up less information, reduces computational cost.
- Lower -> Increases feature map size, picks up more info, higher computational cost.
15
Q
- What is the purpose of an activation function? What are the 6 main ones?
A
- To introduce non-linearity into a model, enabling the identification of more complex relationships.
- ReLU, Leaky ReLU, Tanh, Maxout, Sigmoid, ELU