Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Momentum formulation #171

Open
sai-sai-sai opened this issue Aug 29, 2019 · 2 comments
Open

Momentum formulation #171

sai-sai-sai opened this issue Aug 29, 2019 · 2 comments

Comments

@sai-sai-sai
Copy link

Say in iteration t : Vdw = Beta*Vdw + (1-Beta)*dw ---> The first term in this should actually be Vdw exponentially averaged till t-1 iterations. Since we are cacluating Vdw we can not use Vdw but need to use Vdw averaged till t-1th iteration.

@mbadry1
Copy link
Owner

mbadry1 commented Sep 1, 2019

Do you mean we need to write it like this:
Vdwt = Beta*Vdwt-1 + (1-Beta)*dw

@sai-sai-sai
Copy link
Author

Yes, that's what i think. What do you say? And i think Andrew Ng also states it as you had written in his video but it may be a typo or a quick mistake overlooked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants