-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Simplify Potential docstrings and examples #6772
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
Simplify Potential docstrings and examples #6772
Conversation
61bb9dc
to
515f7ab
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6772 +/- ##
==========================================
- Coverage 91.89% 91.44% -0.46%
==========================================
Files 95 95
Lines 16147 16147
==========================================
- Hits 14839 14765 -74
- Misses 1308 1382 +74
|
Hey Ricardo, is the first example is supposed to be executable?
I get |
I think this was fixed in the very last release of PyTensor (1 or 2 days old) and I was probably already on it. Can you update and check again? |
By the way I think you're looking at the old example (not that it matters for the error your stumbled upon) Also these switch Potential models are not expected to sample well, it's just for illustration. The discontinuities they introduce are pretty bad for NUTS |
Ahh okay you're on top of it. Doesn't look the latest version is available through conda-forge at the moment. I can only get 2.12.1. The new examples are also much nicer to read btw |
Co-authored-by: Bill Engels <[email protected]>
This PR simplifies the examples and explanations used in the Potential docstrings
📚 Documentation preview 📚: https://pymc--6772.org.readthedocs.build/en/6772/