Git Product home page Git Product logo

Comments (5)

duvenaud avatar duvenaud commented on September 25, 2024

Yes, this is a typo - the hypergrad code has the correct implementation, as you noticed. Thanks for pointing it out! Algorithm 2 also has a couple of typos in the paper but not in the code.

from hypergrad.

bkj avatar bkj commented on September 25, 2024

Great -- thanks! Will use the code as a reference, in that case.

from hypergrad.

bkj avatar bkj commented on September 25, 2024

A related question -- the version of SGD w/ momentum implemented in hypergrad is different from the standard implementation. hypergrad has:

velocity = momentum * velocity - (1.0 - momentum) * g
x = x + learning_rate * velocity

vs other place (eg the NAG paper, CS231 from Stanford) have

velocity = momentum * velocity - learning_rate * g
x = x + velocity

@duvenaud Do you have any insight on why the hypergrad implementation differs?

~ Ben

from hypergrad.

mattjj avatar mattjj commented on September 25, 2024

Correct me if I'm wrong but I think your latter question was answered in autograd#289. Maybe this issue can be closed?

from hypergrad.

bkj avatar bkj commented on September 25, 2024

It was -- thanks. Apologies for the double post.

from hypergrad.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.