Greetings.
Why don’t we use learning rate as parameter when we integrate all functions in nn_model ?
Greetings.
Why don’t we use learning rate as parameter when we integrate all functions in nn_model ?
Hi @Apostolos ,
A learning rate is used when the the functions are integrated together in the nn_model* function.
If you look at the update_parameters function, you will see that one of the arguments to the function is learning_rate defaulted to a particular value. Look at the function signature you will see this.
In the integrated nn_model function, we call the function update_parameters to update parameters the base values and gradients are passed in, and but not an explicit learning rate.
Python will use the default learning rate when the update_parameters function is called.
Hope this helps.
Yeah. Totally forgot that.
Thanks a lot @jeosol .
[quote=“jeosol, post:2, topic:20150”]
A learning rate is used when the the functions are integrated together in the nn_model * function.
If you look at the update_parameters function, you will see that one of the arguments to the function is learning_rate defaulted to a particular value. Look at the function signature you will see this.
In the integrated nn_model function, we call the function update_parameters to update parameters the base values and gradients are passed in, and but not an explicit learning rate.
Python will use the default learning rate when the update_parameters function is called.
Hope this helps.