-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Implement logccdf helper for numerically stable log survival function
#7996
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
87eba5d
Add numerical stability test for censored distributions
maresb 81da946
Add _logccdf dispatcher for numerically stable log survival function
maresb 15e5f64
Move try/except fallback into _logccdf_helper
maresb 15806c0
Add _logccdf support to Truncated distribution
maresb 063af42
Fix logccdf IR rewriting to match logcdf pattern
maresb 19b9979
Fix test import style in test_censoring.py
maresb 20322a1
Remove redundant test_logccdf_helper_numerical_stability
maresb 93734c2
Add test for _logccdf_helper fallback to log1mexp
maresb 2df5274
Use ±100 sigma in numerical stability tests
maresb 63c9327
Enhance test docstrings with What/Why/How documentation
maresb 628e6d5
Add test for logccdf IR graph rewriting path
maresb 36b8672
Add test for logccdf with SymbolicRandomVariable extended_signature
maresb 5a2f7cf
Import log1mexp directly
maresb 504b371
Add tests for _logccdf on discrete distributions
maresb 532a22e
Use _logccdf_helper also for discrete distributions
maresb 7dff7e0
Remove verbose inline comments about numerical stability
maresb b1647ff
Simplify verbose test docstrings
maresb 74a3933
Simplify graph_contains_log1mexp using pytensor.graph.traversal.ances…
maresb c73681c
Remove test_logccdf_transformed_argument (redundant pm.Model usage)
maresb 64e482a
Remove _helper tests, keep only user-facing API tests
maresb 1cf84fd
Move censored numerical stability test to tests/distributions/test_ce…
maresb db8e3f1
Add logcdf tests for Erfc/Erfcx transforms
maresb 7de533b
Explain the test assumption that Normal has a custom ccdf but Uniform…
maresb 9444212
Move discrete transform logccdf tests to test_transforms.py
maresb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.