-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow zero rate Poisson (#1657)
* Effectively reverts most of PR #1001 and PR #280, reapplies most of PR #277 * Use scipy.special.xlogy in Poisson computation for numpy backend and use jax.scipy.special.xlogy for jax backend * Set minimum required PyTorch to v1.10 for API stability - c.f. pytorch/pytorch#61511 in torch v1.10.0 * Set minimum required TensorFlow to v2.3.1 and TensorFlow Probability to v0.11.0 - tfp v0.11.0 supports zero rate Poisson and requires tensorflow>=2.3.0 * Add note to docs that limit Poisson(n = 0 | lambda -> 0) = 1 is being used * Update tests to use limit Poisson(n = 0 | lambda -> 0) = 1 result * Run doctest on only the latest Python release Co-authored-by: Ruggero Turra <giurrero@gmail.com>
- Loading branch information
1 parent
8a3dc6b
commit 649723a
Showing
9 changed files
with
80 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters