Open charlesm93 opened 4 years ago
@bob-carpenter would it be possible to have rights to create a branch? Thank you!
OK. I invited you as a collaborator for this repo. You can always fork.
This all looks great. My only concern is that we keep the math to a level I can understand. I haven't been able to understand your adjoints paper yet.
Thank you.
I drafted the chapter on algebraic equations. Let me know if the tone and amount of details agrees with your goals for the book.
Cool. Thanks, I'll take a look.
This looks great. That's a presentation of the implicit function theorem that I can understand! So overall, the level's just what I was hoping for.
There are a few steps I could use help with around the Largrangians and a few things I do understand that I think can be defined more explicitly.
And we need to reach some consensus on notation or every chapter's going to look different.
I'd like to see the final results summarized in rules for adjoints (reverse mode) and tangents (forward-mode). Something where it'll be easy to look up the result without having unpack a bunch of formulas in narratives.
It's (partial f / partial u) that needs to be invertible in the statement.
Is j
a conventional function name for adjoint methods? I'd rather stick to more usual function names.
I'd like to see the final results summarized in rules for adjoints (reverse mode) and tangents (forward-mode). Something where it'll be easy to look up the result without having unpack a bunch of formulas in narratives.
I can summarize the results in a table or a summary section at the end. The adjoint method is designed with reverse mode in mind, but I can work out the forward rules.
And we need to reach some consensus on notation or every chapter's going to look different.
Ok, I'll check what you've already written and adjust.
Is j a conventional function name for adjoint methods? I'd rather stick to more usual function names.
Sounds good.
Restating my post on https://discourse.mc-stan.org/t/help-write-an-autodiff-handbook/12640/13.
I propose grouping the chapters on ODEs, algebraic equations, and integrals, into one section on implicit functions. This is in part because for all these methods, we can apply the adjoint method to construct differentiation algorithms.
The content would be as follows:
Automatic differentiation for implicit functions
We've already written a lot of this down, it's just matter of putting it together.