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

Fix max_treedepth warning #2808

Merged
merged 2 commits into from
Jan 24, 2018
Merged

Conversation

aseyboldt
Copy link
Member

fixes #2800

Also, make the error at <25% effective sample size a info and add a warning at <10%.
cc @junpenglao Do you think that is ok, or is the 25% still too much?

@junpenglao
Copy link
Member

Copy link
Member

@junpenglao junpenglao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -177,8 +177,9 @@ def warnings(self, strace):
WarningType.DIVERGENCES, msg, 'error', None, None, None)
warnings.append(warning)
elif n_divs > 0:
message = ('Divergences after tuning. Increase `target_accept` or '
'reparameterize.')
message = ('There were %s divergences after tuning. Increase '
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for putting this back!

@junpenglao junpenglao merged commit ed74a61 into pymc-devs:master Jan 24, 2018
jordan-melendez pushed a commit to jordan-melendez/pymc3 that referenced this pull request Feb 6, 2018
* Fix max_treedepth warning

* Less sensitive neff warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in the new NUTS warning
2 participants