Skip to content

Fix failing MAP when only a subset of variables is used #5445

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 1 commit into from
Feb 4, 2022

Conversation

ricardoV94
Copy link
Member

Reduced tolerance for optimization that includes discrete variable in test_find_MAP_discrete. It is unclear whether the original reference had a theoretical/empirical meaning or just happened to be the result obtained when the test was created.

Since the less stable Powell method is used in that case, and since the result is still pretty close to the original reference, I think it's safe to just lower the test threshold.

Closes #4771

Reduced tolerance for optimization that includes discrete variable in `test_find_MAP_discrete`. It is unclear whether the original reference had a theoretical/empirical meaning or just happened to be the result obtained when the test was created.
@codecov
Copy link

codecov bot commented Feb 3, 2022

Codecov Report

Merging #5445 (569755b) into main (2f8f110) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5445      +/-   ##
==========================================
- Coverage   81.41%   81.40%   -0.02%     
==========================================
  Files          82       82              
  Lines       14214    14216       +2     
==========================================
- Hits        11573    11572       -1     
- Misses       2641     2644       +3     
Impacted Files Coverage Δ
pymc/tuning/starting.py 92.68% <100.00%> (+0.12%) ⬆️
pymc/parallel_sampling.py 86.71% <0.00%> (-1.00%) ⬇️

@ricardoV94 ricardoV94 merged commit 3da9795 into pymc-devs:main Feb 4, 2022
@ricardoV94 ricardoV94 deleted the fix_map_failing_test branch June 6, 2023 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

find_MAP is failing in V4
2 participants