Convolutional Neural Network Flashcards
Basic overview of steps:
*Image as input
*Kernal to change each pixel
How does the # of filters affect dimensions of image?
Alter third dimention
Single math operation of 3x3 kernal with depth x?
sum(i=1 -> x33)(p_i w_i), p = pixel, w = weight
What determines the dimension of output? 2*
*Stride
*Filters
Kernals get a range of pixels into one pixel. What pixels do they extract?
Pixels along the x y and z direction.
After one filter, what are the dimentions of the output?
yxyx1
Convolution Layers?
How many times we apply a convolution operation.
Activation?
Modify output values by some whatever function.
Pooling
Depending on the type of pooling, decreasing the size of a matrix to prevent overlearning.
does max pooling change size of output?
yes
Dropout?
randomly sets some nodes to 0 to force neural network to train on more robust features. it ultimately prevents overlearning
L1 regularization?
Sets a penalty term, calculated as the sum of the absolute values of weights and multiplied by a regularization parameter. this controls the strength of penalty. Overall, this forces the weights to remain small to prevent overfitting.
Penalty in machine learning?
A condition for the loss function to encourage the model to adapt to certain properties.
Cost function in machine learning?
Any function we want to minimize during learning.
How do you mathematically describe cost?
Usually a loss function added by penalty function(s).