1. Express the loss function(L) in terms of x(i), yi), n, 00, 01. ƏL 2. Compute 900 მძი 3. Compute L 20₁ 4. Write update rules for 0 and 0₁

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter2: Exponential, Logarithmic, And Trigonometric Functions
Section2.CR: Chapter 2 Review
Problem 111CR: Respiratory Rate Researchers have found that the 95 th percentile the value at which 95% of the data...
icon
Related questions
Question
Consider house rent prediction problem where you are supposed to predict price of a house
based on just its area. Suppose you have n samples with their respective areas, x(¹), x(²),...,x(n),
their true house rents y(¹), y(²),..., y(n). Let's say, you train a linear regressor that predicts
ƒ (x(i)) :
= 0 + 0₁x¹). The parameters and ₁ are scalars and are learned by minimiz-
ing mean-squared-error
loss through gradient descent with a learning rate a. Answer the
following questions.
1. Express the loss function(L) in terms of x(i),y(i), n, 00, 0₁.
2. Compute L
მძი
ƏL
3. Compute 20₁
4. Write update rules for 0 and 0₁
Transcribed Image Text:Consider house rent prediction problem where you are supposed to predict price of a house based on just its area. Suppose you have n samples with their respective areas, x(¹), x(²),...,x(n), their true house rents y(¹), y(²),..., y(n). Let's say, you train a linear regressor that predicts ƒ (x(i)) : = 0 + 0₁x¹). The parameters and ₁ are scalars and are learned by minimiz- ing mean-squared-error loss through gradient descent with a learning rate a. Answer the following questions. 1. Express the loss function(L) in terms of x(i),y(i), n, 00, 0₁. 2. Compute L მძი ƏL 3. Compute 20₁ 4. Write update rules for 0 and 0₁
Expert Solution
steps

Step by step

Solved in 6 steps with 5 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Trigonometry (MindTap Course List)
Trigonometry (MindTap Course List)
Trigonometry
ISBN:
9781305652224
Author:
Charles P. McKeague, Mark D. Turner
Publisher:
Cengage Learning