-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Print warnings for some bad traces #2002
Conversation
This looks really useful. Neal (https://arxiv.org/pdf/1206.1901.pdf) has some calculations for optimal acceptance rate for Metropolis and HMC/NUTS on page 30. Not sure how wide the band should be around that... |
Very useful. Seems like there are some legit test errors. |
Awesome - useful work.
…On Fri, Apr 7, 2017 at 8:01 AM, Thomas Wiecki ***@***.***> wrote:
Very useful. Seems like there are some legit test errors.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2002 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA8DiPP6LQm7VXyLqzV5uKiU-PLXbQlFks5rtd9kgaJpZM4M2CtL>
.
--
Peadar Coyle
Skype: springcoilarch
www.twitter.com/springcoil
peadarcoyle.wordpress.com
|
I guess this also means we need a way to pass parameters to nuts though |
@aseyboldt Yeah, I had this on my mind before, should definitely pass kwargs. Maybe best way is to have |
@aseyboldt isn't that always an option https://github.com/pymc-devs/pymc3/blob/master/pymc3/sampling.py#L491 ? |
@junpenglao Yes, but this does not work through |
See #2004 |
Right now we don't report anything if a trace if obviously nonsense. This PR prints warnings if a trace does not meet some minimum requirements.
The test about the target acceptance probability is a bit hairy, I don't know any obvious choices for the threshold. The one I implemented works out to printing a warning if:
I'm open for better ideas...