-
Notifications
You must be signed in to change notification settings - Fork 33
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
I293 nuts better dual averaging #1112
Conversation
@martinjrobins I've done the simpler coverage issues, but there's still a few to tick off in the actual nuts/dual-averaging code. (You can see them on the "Diff" tab, not sure why the other tabs in codecov don't work for this) |
@MichaelClerx, all changes done, can you check if this looks ok then we can merge? I've tested everything except for one branch of an if statement, which I don't think is worth testing explicitly. |
Are you sure that whatever causes the |
you mean the |
Is that where the NaN is coming from, from a NaN returned by the logistic model? We've got an open issue about a "policy" for this at #794 I'll do a quick check and then we can merge, maybe leave open an issue to check its behaviour if a NaN gets returned? |
🥳 |
Fixes #293
This is an update of the previous nuts pr, with better dual averaging to more closely match STAN
also removes slice sampling option, as was too difficult to keep in step with the monomial (sp?) sampling