Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Neural Networks. ( 2 0 points ) Consider a neural network, with N i = 2 input units, x = ( x 1 , x

Neural Networks. (20 points) Consider a neural network, with Ni=2 input units, x=
(x1,x2),Nh=3 hidden units with ReLU activations and one output unit for regression,
zjH=k=1NiWjkHxk+bjH,ujH=max{0,zjH},j=1,dots,Nh
widehat(y)=k=1NhWkOukH+bO,
(a)(5 points) Suppose that
WH=[1001-1-1],bH=[-0.5-13]
Write equations for zjH in terms of x for j=1,2,3.
(b)(5 points) Draw the region of inputs (x1,x2) where ujH>0 for all j.
(c)(5 points) Assuming you were given the following training data set, and the parameters of
the hidden layer are as above. What parameter WO and bO, the weight and bias for the
output layer that minimizes the MSE? What is the MSE of the training set with those
parameters?
(d)(5 points) You are given data x,y as well as weights and biases Wh, bh for the hidden layer.
Write a few lines of python code to fit wo, bo for the output layer by minimizing the MSE.
You may assume you have a function
beta =lstsq(A,b)??# Solves the least squares problem A.dot(beta)=b
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

Students also viewed these Databases questions

Question

If the nth partial sum of a series Is Find an and an 1 Sn- an

Answered: 1 week ago

Question

Explain the global implications for recruitment.

Answered: 1 week ago

Question

Describe what competencies and competency modeling are.

Answered: 1 week ago

Question

Summarize job design concepts.

Answered: 1 week ago