Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For our Gradient Descent algorithm, the cost function = Sigma ( Y ( mX + 1 ) ) 2 and our learning rate =

For our Gradient Descent algorithm, the cost function =\Sigma (Y(mX+1))2
and our learning rate =0.01.
We are interested in approximating a value for the parameter m using three points. Y is the true y-coordinate of each point and X is the true x-coordinate.
We initialize m with 0 and the new m is calculated as the old m -(0.083m -124)*0.01.
(a) What is the first step size?
(b) what does '0.083m-124' in the formula to compute the new m represent?
(c) Write a conditional expression based on the information provided above that will stop the looping of the algorithm, resulting in a determined value of the parameter.

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_2

Step: 3

blur-text-image_3

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

Students also viewed these Databases questions