Search Header Logo
Machine Learning Week 3: Linear Regression with one variable

Machine Learning Week 3: Linear Regression with one variable

Assessment

Presentation

Computers

Professional Development

Practice Problem

Medium

Created by

Deep Nets

Used 17+ times

FREE Resource

7 Slides • 6 Questions

1

Machine Learning Week 3

Linear Regression with one variable

Slide image

2

Poll

Attendance

Present

Absent

3

Slide image

4

Slide image

5

Slide image

6

Multiple Choice

You’re running a company, and you want to develop learning algorithms to address each of two problems.

Problem 1:You have a large inventory of identical items. You want to predict how many of these items will sell over the next 3 months.

Problem 2: You’d like software to examine individual customer accounts, and for each account decide if it has been hacked/compromised.

Should you treat these as classification or as regression problems?

1

Treat both as classification problems.

2

Treat problem 1 as a classification problem, problem 2 as a regression problem.

3

Treat problem 1 as a regression problem, problem 2 as a classification problem.

4

Treat both as regression problems.

7

Slide image

8

Slide image

9

Multiple Select

Of the following examples, which would you address using an unsupervised learning algorithm? (Check all that apply.)

1

Given email labeled as spam/not spam, learn a spam filter.

2

Given a set of news articles found on the web, group them into sets of articles about the same stories.

3

Given a database of customer data, automatically discover market segments and group customers into different market segments.

4

Given a dataset of patients diagnosed as either having diabetes or not, learn to classify new patients as having diabetes or not.

10

Model and Cost Function

11

Multiple Choice

Question image

Consider the training set shown in the image.

 (x(i), y(i))\left(x^{\left(i\right)},\ y^{\left(i\right)}\right)   is the  ithi^{th}  training example. What is  y(3)y^{\left(3\right)}  ?

1

1416

2

1534

3

315

4

0

12

Multiple Choice

Question image

Consider the plot (given in the image) of h_{\theta}\left(x\right)\ =\ \theta_{0\ }+\ \theta_1x 
What are  θ0 \theta_{0\ }  and  θ1\theta_1  ?

1

 θ0 = 0,  θ1=1\theta_0\ =\ 0,\ \ \theta_1=1  

2

 θ0 = 0.5,  θ1=1\theta_0\ =\ 0.5,\ \ \theta_1=1  

3

 θ0 = 1,  θ1=0.5\theta_0\ =\ 1,\ \ \theta_1=0.5  

4

 θ0 = 1,  θ1=1\theta_0\ =\ 1,\ \ \theta_1=1  

13

Multiple Choice

Question image

Please find the question in the image

1

0

2

1/6

3

1

4

14/6

Machine Learning Week 3

Linear Regression with one variable

Slide image

Show answer

Auto Play

Slide 1 / 13

SLIDE