Question: Question 1 . [ 1 + 1 * 2 + 2 + 1 = 6 marks ] Consider the following DNN for image classification for
Question marks
Consider the following DNN for image classification for a dataset that consists of RGB images of size x
model models.Sequential
# Layer
model.addlayersDense activation'relu',inputshapeA
# Layer
model.addlayersDense activation'relu'
# Layer
model.addlayersDense activation'relu'
# Layer
model.addlayersDenseB activationC
model.compileoptimizer sgd loss D metricsaccuracy
A What is the input shape A in Layer
B What will be the value of B activation function C and loss D if the total number of classes in the dataset is
i
ii
C What will be the total number of parameters in Layer Layer and Layer If a dropout layer of value is added after Layer what will be the change in the number of parameters?
D What is the difference between kernel regularizers and activity regularizers?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
