-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Function to optimize prior under constraints #5231
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 5 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
8ca3ded
Replace print statement by AttributeError
AlexAndorra 9dc0096
pre-commit formatting
AlexAndorra 9675e4f
Mention in release notes
AlexAndorra d132364
Handle 1-param and 3-param distributions
AlexAndorra 6f9ccd4
Update tests
AlexAndorra fea6643
Fix some wording
AlexAndorra 524a900
pre-commit formatting
AlexAndorra 91174b9
Only raise UserWarning when mass_in_interval not optimal
AlexAndorra 29741f1
Raise NotImplementedError for non-scalar params
AlexAndorra 1ad4297
Remove pipe operator for old python versions
AlexAndorra a708e6d
Update tests
AlexAndorra e1c5125
Add test with discrete distrib & wrap in pytest.warns(None)
AlexAndorra bc9b543
Remove pipe operator for good
AlexAndorra 18ad975
Fix TypeError in dist_params
AlexAndorra e92d6d8
Relax tolerance for tests
AlexAndorra 94b406b
Force float64 config in find_optim_prior
AlexAndorra 76dbb1f
Rename file name to func_utils.py
AlexAndorra 53bfc00
Replace print statement by AttributeError
AlexAndorra 77a0bb1
pre-commit formatting
AlexAndorra fd5f498
Mention in release notes
AlexAndorra 171a4aa
Handle 1-param and 3-param distributions
AlexAndorra 36b95cb
Update tests
AlexAndorra 55138d9
Fix some wording
AlexAndorra 4bed2cd
pre-commit formatting
AlexAndorra 02d117b
Only raise UserWarning when mass_in_interval not optimal
AlexAndorra 7742571
Raise NotImplementedError for non-scalar params
AlexAndorra 8a6e0e7
Remove pipe operator for old python versions
AlexAndorra 602391b
Update tests
AlexAndorra 9bb14a3
Add test with discrete distrib & wrap in pytest.warns(None)
AlexAndorra ab0ef0f
Remove pipe operator for good
AlexAndorra 58f5d56
Fix TypeError in dist_params
AlexAndorra a6c7f0d
Relax tolerance for tests
AlexAndorra c9c24d6
Force float64 config in find_optim_prior
AlexAndorra c75f8c9
Rename file name to func_utils.py
AlexAndorra 3ffd7ff
Change optimization error function and refactor tests
ricardoV94 a1a6bdf
Use aesaraf.compile_pymc
ricardoV94 7cd0e55
Merge branch 'optim-prior' of https://github.com/pymc-devs/pymc into …
AlexAndorra 1d868fa
Add and test AssertionError for mass value
AlexAndorra 063bc96
Fix type error in warning message
AlexAndorra cb7908c
Split up Poisson test
AlexAndorra 16ed438
Use scipy default for Exponential and reactivate tests
AlexAndorra 1b84e18
Refactor Poisson tests
AlexAndorra 6ea7861
Reduce Poisson test tol to 1% for float32
AlexAndorra d63b652
Remove Exponential logic
AlexAndorra 37e6251
Rename function
AlexAndorra b912ac6
Refactor test functions names
AlexAndorra d4bce39
Use more precise exception for gradient
AlexAndorra 9a51289
Don't catch TypeError
AlexAndorra 90a88ff
Merge branch 'main' into optim-prior
AlexAndorra 8b9ae6e
Remove specific Poisson test
AlexAndorra d53154a
Remove typo from old Poisson test
AlexAndorra 1f42835
Put tests for constrained priors into their own file
AlexAndorra bad236c
Add code examples in docstrings
AlexAndorra d89e375
Merge branch 'main' into optim-prior
AlexAndorra 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
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.