Answered step by step
Verified Expert Solution
Link Copied!

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)
1. describe the overall iterative learning process for artificial neural networks discussing, among the other the things, the chain rule (e.g. how it works), what it entails and what possible risks are involved;
2. 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 (1x28x28) tensor, 24(3x3) kernels, stride=1, padding="same" to keep input size, relu activation model.add(Conv2D (24, kernel_size=(3,3), padding="same", activation="relu", input_shape=(28,28,1))
# max pooling with pooling size (2x2) applied as in the lecture's example model.add(MaxPooling2D (pool_size=(2,2)))
#input as previous layer's feature maps, no padded convolution here model.add(Conv2D (48, kernel_size=(3,3), padding="valid", activation="relu"))
# max pooling with pooling size (2x2) applied as in the lecture's example model.add(MaxPooling2D (pool_size=(2,2)))
# input as previous layer's feature maps, see description in the first layer for the rest model.add(Conv2D (64, kernel_size=(3,3), padding="same", activation="relu"))
#max pooling with pooling size (2x2) applied as in the lecture's example model.add(MaxPooling2D (pool_size=(2,2)))
#input as previous layer's feature maps, no impact on the number of the network's parameters model.add(Flatten())
# 128-wide dense layer with input as flattened vector from previous step model.add(Dense (128, activation="relu"))
# no impact on the number of the network's parameters
model.add(Dropout (0.25))
# 10-wide output layer with input as hidden vector from previous step model.add(Dense (10, activation="softmax"))
# no impact on the number of the network's parameters
model.compile(loss="categorical_crossentropy", optimizer="adam", metrics=["accuracy"])
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

e. What do you know about your ethnic background?

Answered: 1 week ago

Question

b. Why were these values considered important?

Answered: 1 week ago