Skip to content

Feature: A custom_joint_prior for MCMC - #195

Merged
murrayrm merged 11 commits into
mainfrom
custom-joint-priors
Sep 28, 2026
Merged

murrayrm merged 11 commits into
mainfrom
custom-joint-priors

Conversation

@ayush9pandey

@ayush9pandey ayush9pandey commented Aug 30, 2026 •

Copy link
Copy Markdown
Collaborator

This PR adds support for an optional custom_joint_prior during MCMC
parameter inference.

The joint-prior callable:

  • receives the complete proposed parameter dictionary;
  • contributes to the combined log-prior after the individual parameter
    priors are evaluated;
  • rejects the complete proposal when it returns a non-finite value; and
  • is forwarded through deterministic and stochastic inference setup.

This PR addresses issue #194.

@murrayrm murrayrm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Quick scan (even though this is still in draft).

Comment thread bioscrape/inference_setup.py Resolved
Comment thread bioscrape/inference_setup.py Resolved
@ayush9pandey
ayush9pandey marked this pull request as ready for review September 25, 2026 02:56
@ayush9pandey

Copy link
Copy Markdown
Collaborator Author

@murrayrm I have removed the hanging changes that will appear in a future PR now. Please review and merge when you get a chance.

@murrayrm
murrayrm merged commit a010396 into main Sep 28, 2026
17 checks passed
@murrayrm
murrayrm deleted the custom-joint-priors branch September 28, 2026 01:44
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