Skip to content

Updating Error message when checking the starting values for MCMC #6632

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
Mar 29, 2023

Conversation

Dhruvanshu-Joshi
Copy link
Member

What is this PR about?
This PR aims to solve issue 6629. When we check if the starting values for MCMC do not cause the relevant log probability to evaluate to something invalid and it does, the sampling error currently does not explicitly specify that the initial evaluations correspond to the values of the log-probability at starting values of corresponding parameters. This has created some confusion. In this PR, we specify that the initial evaluations correspond to the logp values.

Checklist

Major / Breaking Changes

  • ...

New features

  • ...

Bugfixes

  • ...

Documentation

  • ...

Maintenance

  • ...

@codecov
Copy link

codecov bot commented Mar 29, 2023

Codecov Report

Merging #6632 (3ef380f) into main (f3ce16f) will decrease coverage by 1.53%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6632      +/-   ##
==========================================
- Coverage   92.02%   90.49%   -1.53%     
==========================================
  Files          93       93              
  Lines       15752    15752              
==========================================
- Hits        14495    14255     -240     
- Misses       1257     1497     +240     
Impacted Files Coverage Δ
pymc/model.py 89.52% <ø> (ø)

... and 3 files with indirect coverage changes

@ricardoV94 ricardoV94 requested review from larryshamalama and removed request for larryshamalama March 29, 2023 18:08
Copy link
Member

@larryshamalama larryshamalama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your help! 🙂

@larryshamalama larryshamalama merged commit f7861b5 into pymc-devs:main Mar 29, 2023
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.

2 participants