hi
I am puzzled with the code In [9] which appears after presenting the cumpute_gradient(x, y, w, b) method.
In [9] plt_gradients(x_train,y_train, compute_cost, compute_gradient)
plt.show()
I googled plt_gradients and it seems it is not a funtion in matplotlib or is it? if it is not, then where was this funtion defined ?
regardless, I am puzzled how th’s code outputs the informative chart on gradient since it takes functions as inputs but these functions requre parameters such as x y w b. no?
I know that funtions can take functions as input in pyhton but still cant figure out how it works in this example.
Mehmet