EECS 445, Winter 2020 – Homework 3, Due: Tues. 4/7 at 11:59pm
1
UNIVERSITY OF MICHIGAN Department of Electrical Engineering and Computer Science EECS 445 — Introduction to Machine Learning Winter 2020 Homework 3, Due: Tues. 4/7 at 11:59pm Submission: Please upload your completed assignment by 11:59pm Tuesday, April 7th to Gradescope.
1
Neural Networks [8 pts]
Sahas was inspired by Noa’s findings in Project 2. He is now interested in determining the price of a dish is based on two inputs Size and Tastiness. Sahas eats ten different dishes and records their mass in kilograms and tastiness on a continuous scale of 1-10. Then he records the price of the dish. The following is the neural network he sets up to perform this regression task. xi ’s x1
(2)
(1) wji
hj ’s (2)
(3)
(2) wkj
h1
hk ’s (3)
h1
x2
h2
(2)
h2
+1
+1
+1
(3) w1j
zk ’s z1
(3)
We will use the Sigmoid activation function on each hidden neuron and use squared loss to evaluate our model. All of the current weights are given below. The tables are organized such that the row designates which input the weight is from and the column indicates which output the weight is to. For example weight (1) (2) w21 is found in the x1 row and the h2 column. (2)
x1 x2 +1
h1 0.5 0.1 0.3
(2)
h2 0.1 0.2 0.1
Table 1: Layer 1 Weights