Regarding Optional lab: Gradient descent

In Optional lab: Gradient descent, C1_W1_Lab04_Gradient_Descent_Soln
gradient_function(x, y, w , b) and cost_function and some other function was not defined then how it is working.
if they are defined in the file then where they are?


First, you posted this in the General Discussions category but I guess this belongs to the MLS course. Please change the category as instructed here.

Regarding your query, many helping functions are imported from utility files. You can access them as guided here.


changed the category sir thanks.