Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

EECS 445 ML - University of Michigan_ Introduction to Machine Learning-Homework 3 Plus Solutions.

Rating
-
Sold
-
Pages
13
Grade
A+
Uploaded on
02-04-2023
Written in
2022/2023

EECS 445 ML - University of Michigan_ Introduction to Machine Learning-Homework 3 Plus Solutions. 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 Wint er 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. 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 w (1) 21 is found in the x1 row and the h(2) 2 column. Table 1: Layer 1 Weights EECS 445, Winter 2020 – Homework 3, Due: Tues. 4/7 at 11:59pm 2 Table 2: Layer 2 Weights a Note: w(l) ji is the weight for lth fully connected layer, connecting unit j with input i. We are currently in the process of training our neural network and randomly sample the data point {x¯ = [1, 5]t, y = 4} (a) [2 pt] What is the output of our neural network given this datapoint? (b) [1 pt] Next, compute the loss between the expected output and our prediction. (c) [5 pts] Since we are still training this network, we now need @L @w(l) ij for all i, j and l to perform an SGD update. Compute @L @w(1) 12 , @L @w(2) 12 , @L @w(3) 12 EECS 445, Winter 2020 – Homework 3, Due: Tues. 4/7 at 11:59pm 3 EECS 445, Winter 2020 – Homework 3, Due: Tues. 4/7 at 11:59pm 4 2 Food Clusters [15 pts] Thanks to all of your hard work in Project 2, Noa has a way to easily sort through all of her food options. Unfortunately, in her excitement to finally choose, Noa misplaced the labels of her images so you have promised to create her an unsupervised algorithm for categorizing the food. Like the autoencoder in Project 2, we will attempt to identify structure in the data without training on labels. You will be implementing the k-means clustering algorithm as well as a variant of the algorithm, k-means++, which has the additional property of encouraging good cluster centroid initializations. These are simple yet powerful unsupervised methods for grouping similar examples within a dataset. You will write your code in clustering and . (a) [1 pt] Why are poor centroid initializations often a problem? (b) [1 pt] Implement the function Pnce() in the file clustering . This function takes as arguments two Point objects and retur

Show more Read less
Institution
Introduction To Machine Learning
Course
Introduction to Machine Learning









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Introduction to Machine Learning
Course
Introduction to Machine Learning

Document information

Uploaded on
April 2, 2023
Number of pages
13
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
AllAcademic Other
View profile
Follow You need to be logged in order to follow users or courses
Sold
67
Member since
6 year
Number of followers
39
Documents
548
Last sold
4 weeks ago
All the academic resources you need.

All the academic resources you need.

3.7

7 reviews

5
3
4
1
3
2
2
0
1
1

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions