Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Consider the neural network with two hidden layers shown in the following Figure to answer the next 8 questions. The input layer consists of 3

Consider the neural network with two hidden layers shown in the following Figure to answer the next 8 questions. The input layer consists of 3 features x =[\times 1, X2, X3], each hidden layer has two nodes and the output layer gives the probabilities g =191,32193; 94) over four classes 1,2,3 and 4. The weight parameter on each arc is labeled on the figure. There are three sets of weights: a, w,.
The weights before this pass are the following:
1) Hidden layer 1: 011=0.5, a12=0.5,021=0.7, a22=0.3, a31=1,032=0.
2) Hidden layer 2: w11=0, w12=1, w21=0.2, w22=0.8
3) Output layer: 312=1, B23=0.5, B24=0.5, all other Bjk =0.
Both hidden layers use a ReLU activation function g(x)= max{0,2}, and the output layer uses a linear activation function g(x)=2. In addition, we use cross entropy loss, L(y,y)=(-1 Yk log(k)+(1-9) log(1-9)) where y =[1,92,93,94] is a one-hot encoding vector representing the true class, and represents the output of the network.
Based on this network, you will perform one pass of forward propagation for one data point with features 2=1,221,230.1 and true class 3.
What is the value of 3 for the given data point?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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