Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a ) 1 . describe the overall iterative learning process for artificial neural networks discussing, among the other the things, the chain rule ( e
a
describe the overall iterative learning process for artificial neural networks discussing, among the other the things, the chain rule eg how it works what it entails and what possible risks are involved;
given the following definition of a convolutional neural network comments about each line of Python code highlighted in yellow before the line
model Sequential
#input as a xx tensor, x kernels, stride padding"same" to keep input size, relu activation model.addConvD kernelsize padding"same", activation"relu", inputshape
# max pooling with pooling size x applied as in the lecture's example model.addMaxPoolingD poolsize
#input as previous layer's feature maps, no padded convolution here model.addConvD kernelsize padding"valid", activation"relu"
# max pooling with pooling size x applied as in the lecture's example model.addMaxPoolingD poolsize
# input as previous layer's feature maps, see description in the first layer for the rest model.addConvD kernelsize padding"same", activation"relu"
#max pooling with pooling size x applied as in the lecture's example model.addMaxPoolingD poolsize
#input as previous layer's feature maps, no impact on the number of the network's parameters model.addFlatten
# wide dense layer with input as flattened vector from previous step model.addDense activation"relu"
# no impact on the number of the network's parameters
model.addDropout
# wide output layer with input as hidden vector from previous step model.addDense activation"softmax"
# no impact on the number of the network's parameters
model.compileloss"categoricalcrossentropy", optimizer"adam", metricsaccuracy
describe the network in terms of its depth, its layers' width, what it is expected to eventually calculate and say how many parameters are trainable in total elaborating on how you calculate that number.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started