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

Added chapter about Nesterov momentum optimization #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

10 changes: 9 additions & 1 deletion docs/optimizers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,15 @@ of the gradient on previous steps. This results in minimizing oscillations and f
Nesterov Momentum
-----------------

Be the first to `contribute! <https://github.com/bfortuner/ml-cheatsheet>`__
Nesterov momentum optimization is a minor but effective variation of the regular momentum optimization proposed by Yuri Nesterov.
The key concept is that the gradient of the cost function is measured ahead of the local position in the direction
of the momentum (at point :math:`W + \beta v_{dW}`). This Works since the momentum vector will be pointing in the correct direction and
is generally faster than regular momentum optimization.

.. math::

v_{dW} = \beta v_{dW} + (1 - \beta) \frac{\partial \mathcal{J} }{ \partial (W + \beta v_{dW}) } \\
W = W - \alpha v_{dW}


Newton's Method
Expand Down