Created
September 2, 2018 15:01
-
-
Save bushaev/8e24950c8f3399c8d592fde65ca617ee to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| grads_squared = 0 | |
| for _ in num_iterations: | |
| dw = compute_gradient(x, y_ | |
| grad_squared += dw * dw | |
| w = w - (lr / np.sqrt(grad_squared)) * dw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment