Created
September 2, 2018 14:17
-
-
Save bushaev/f7b05dc0525bd49124046806ee5e2eeb 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
| drad_squared = 0 | |
| for _ in num_iterations: | |
| dw = compute_gradients(x, y) | |
| grad_squared = 0.9 * grads_squared + 0.1 * dx * dx | |
| 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
+1 to the above comment, it seems there are a few typos, here