Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are supposed to train a neural network that will guide auto - driving car. The training data consists of grayscale 6 4 6 4
You are supposed to train a neural network that will guide autodriving car. The training data consists of grayscale pixel images. The training labels include the human driver's steering wheel angle in degrees and the human driver's speed in miles per hour in output layer. Your neural network consists of an input layer with units, a hidden layer with units, and an output layer with units one for steering angle, one for speed You use the ReLU activation function for the hidden units and no activation function for the outputs or inputs
a Calculate the number of parameters weights in this network. You can leave your answer as an expression. Make sure to account for the bias terms.
marks
b You train your network with the cost function Use the following notation.
is a training image input vector with a component appended to the end, is a training label input vector, and is the output vector. All vectors are column vectors.
max is the ReLU activation function, is its derivative if otherwise and is applied componentwise to a vector.
is the vector of hidden unit values before the ReLU activation functions are applied, and is the vector of hidden unit values after they are applied but we append a component to the end of
is the weight matrix mapping the input layer to the hidden layer;
is the weight matrix mapping the hidden layer to the output layer;
Derive del
marks
c Write delelW as an outer product of two vectors. delelW is a matrix with the same dimensions as ; it's just like a gradient, except that and delelW are matrices rather than vectors.
marks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started