Created
November 11, 2018 07:52
-
-
Save mdhasanai/6f995c725fafabff032c06ff136caab9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def update_parameters(w1,w2,bias1,bias2, dw1,dw2,dz1,dz2,db1,db2,learning_rate=0.5): | |
w1 = w1 - (learning_rate * dw1) | |
bias1 = bias1 - (learning_rate * dz1) | |
w2 = w2 - (learning_rate * dw2) | |
bias2 = bias2 - (learning_rate * dz2) | |
return w1,w2,bias1,bias2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment