Gradient descent week 1 doubt

in week 1 optional lab in this function

what is this gradient_function in dj_dw, dj_db = gradient_function(x, y, w , b)
as i am not able to locate the function definition of the function in the whole lab

Hello @Pattanayak_Deb,

It is one of the input arguments.

Cheers,
Raymond

2 Likes

Hi,
But where did we define gradient_function as?
I donot understand the exactness of this function.

It is a variable in gradient_descent which we are defining here, but how do dj_dw and dj_db take values from this gradient_function?