Question: model = models. Sequential ( ) # Layer 1 model.add ( layers . Dense ( 5 0 , activation = 'relu', input # Layer 2

model = models. Sequential() # Layer 1 model.add (layers. Dense (50, activation='relu', input # Layer 2 model.add(layers. Dense (40, activation='relu')) # Layer 3 model.add(layers.Dense (30, activation='relu')) # Layer 4. model.add(layers. Dense (**B**, activation=**C**)) model.compile (optimizer 'sgd', loss =**D**, metri ']) A. What is the input shape **A** in Layer 1?(32*32*3,) or (3072) B. What will be the value of **B**, activation function **C** and loss total number of classes in the dataset is i.21, sigmoid, binary_crossentropy 11.1010, softmax, categorical_crossentropyA. Consider the MLP below where each perceptron has a linear activation function where the output z is related to its inputs x and y as z = ax + by + c. We claim that this network can be replaced by a single perceptron with a possibly different linear activation function. Is this claim true or not? Give quantitative justification for your answer. B. We would like to minimize the following quadratic function 0.5.25x2+16*x +12 using exactly two steps using gradient-descent with a learning rate n -10 for the first step. What should the learning rate of the second-step be in order to obtain the minimum in two-steps? 13+3-6 Marks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!