I just had a simple doubt in the function update_parameters of NN model. Are the parameters noly updated once? I mean does the Gradient Descent only have one iteration in the function here as I don’t see a terminating condition or hardcoded loop here.
Sorry if it’s a silly doubt and thanks in advance
That function only applies one update to the parameters: this is “modularity” in action. Then the question is how you use the function. See the logic in the top level routine nn_model
. That’s where the main loop is over the iterations.
Yes, i was thinking on the same lines but needed some surety on it. Thanks for making my intuition concrete