Question: Feedforward Neural Networks ( 2 5 pt ) Cuonsider two models: ( a ) a 2 - layer feedforward neural network ( i . e

Feedforward Neural Networks (25pt)
Cuonsider two models: (a) a 2-layer feedforward neural network (i.e.,1 hidden layer with
f(x, W1, b1, W2, b2)= W2 max(0, W1x + b1)+ b2), and (b) same as before but with leaky
ReLU (f(x)= x if x >0, else f(x)=0.01 x).
1. Build the above classifiers using Keras and Tensorflow and solve the classification
problem for MNIST/Fashion MNIST (link).
2. Discuss how optimizer choice influences performance.
3. What happens when the number of hidden units chosen is much smaller. Similarly,
what happens when the number of hidden units chosen is much higher?

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 Programming Questions!