Question: Consider a neural network model with one hidden layer and the following properties: The size of the imput is 2 . The size of hidden
Consider a neural network model with one hidden layer and the following properties:
The size of the imput is
The size of hidden layer is with each node has activation function Sigmoid:
The output has size with activation function
a Draw a graph network by hands for this neural network.
b The binary crossentropy loss function for a label vector and the prediction vector hat is defined as
hathat
Note that hat is the output of the neural network for input
Calculate the gradient of with respect to the weights of the first layer You can use a matrix notation.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
