Question: A neural network for a two-class classification problem is given below. The units at the hidden layer have ReLU activations. The weights determined through training

A neural network for a two-class classification problem is given below. The units at the hidden layer have ReLU activations.

The weights determined through training are:

w11=-1.5; w12=-1.0, w21=1.2; w22=1.0; w31=-0.6; w32=1.0 h11=-0.5; h12=-1.0; h21=1.0, h22=1.5; h31= 0.4; h32=0.3 A neural network for a two-class classification problem is given below. The

Suppose x1=4, and x2=5.

(a) Calculate the net inputs a1 and a2.

(b) Calculate the ReLU outputs.

(c) Calculate y1 and y2.

(d) Calculate z1 and z2.

(e) If cross entropy used as the loss function, and the target value is [1,0], calculate the loss

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!