Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Better guesses for why logp has RVs #7663

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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 3 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

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant