-
Notifications
You must be signed in to change notification settings - Fork 16
311 implement zero truncated poisson algorithm #450
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
311 implement zero truncated poisson algorithm #450
Conversation
* Tutorial: minimal port of ZTP paper setup and run.
* Adds tutorial: minimal port of ZTP paper setup and run
@jeremy-myers Looks like this is failing regressions due to some slight numerical differences in the expected test output. Can you take a look and see if Nick's example of using |
@dmdunla This is failing on |
Ugh! This is ugly. It may be that this failing part relied on a certain state of the RNG, as I can reproduce the result, then run just this failing test, and it will work most but not all of the times I run it:
... then again ...
And you can see that the error shows up in a different location. Hence, my thought about the RNG. I increased |
Looks like we were getting lucky with I'll this PR now, then add an issue describing this behavior that needs to be addressed. |
Closes #311
The tutorial is a minimal port of Listing 2 from (https://academic.oup.com/imaiai/article/12/3/1573/7159150#417226967).
📚 Documentation preview 📚: https://pyttb--450.org.readthedocs.build/en/450/