Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

By hand calculation. This is an exercise to check if you understand the maths behind gradient descent. We have one independent variable (x) and one

image text in transcribed
By hand calculation. This is an exercise to check if you understand the maths behind gradient descent. We have one independent variable (x) and one dependent variable (y). There are only two data points: x = [2.5, 5.6] y = [5.16, 11.14] We want to build a linear model: y = w1*x+wo. The initial guess is w1=3; wo=2.5. The loss function is mean squared loss. (a) what is the current loss function value? (b) what is the current dL/dw for W1 and Wu? (C) using a learning rate of 0.01, what is your next guess for w? What is the new loss function with the new w? Did it smaller or larger? (d) try different learning rates, what learning rate is too large

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

WebAssign For A First Course In Differential Equations With Modeling Applications

Authors: Dennis G Zill

11th Edition

1337879770, 9781337879774

More Books

Students also viewed these Mathematics questions

Question

Personal role: This consists of service to family and friends.

Answered: 1 week ago