Skip to content

Better guesses for why logp has RVs #7663

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
Jul 15, 2025

Conversation

ricardoV94
Copy link
Member

@ricardoV94 ricardoV94 commented Jan 28, 2025

The suggestion for why RVs show up in the graph doesn't seem to be the most common: mixing variables from different models. This PR suggests that for the model-related path transformed_conditional_logp.

A more likely explanation is given on the low-level API conditional_logp for users that call it directly.


📚 Documentation preview 📚: https://pymc--7663.org.readthedocs.build/en/7663/

@ricardoV94 ricardoV94 force-pushed the better_guess_rvs_in_logp branch from 32609a1 to 4a0cbd1 Compare January 28, 2025 11:03
Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.70%. Comparing base (fa43eba) to head (4a0cbd1).
Report is 100 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #7663      +/-   ##
==========================================
- Coverage   92.78%   92.70%   -0.09%     
==========================================
  Files         107      107              
  Lines       18196    18390     +194     
==========================================
+ Hits        16884    17049     +165     
- Misses       1312     1341      +29     
Files with missing lines Coverage Δ
pymc/logprob/basic.py 94.24% <100.00%> (-0.05%) ⬇️

... and 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ricardoV94 ricardoV94 merged commit d0face4 into pymc-devs:main Jul 15, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants