Skip to content

Allow correlations between more general sets of variables#84

Merged
tommyod merged 6 commits intoequinor:mainfrom
tommyod:correlate-more
Dec 5, 2025
Merged

Allow correlations between more general sets of variables#84
tommyod merged 6 commits intoequinor:mainfrom
tommyod:correlate-more

Conversation

@tommyod
Copy link
Copy Markdown
Collaborator

@tommyod tommyod commented Dec 4, 2025

Before, correlations could only be induced on distributions whose ancestors were not distributions, e.g.

Distribution("norm", 0, scale=Constant(5))

However, we could NOT induce correlations on e.g.:

Exp(Distribution("norm", 0, scale=Constant(5)))

Since Exp is a transform and not a distribution.

This PR opens up for more possibilities. We can induce distributions on any set of nodes whose ancestor sets (including itself) have no common elements.

@tommyod tommyod requested a review from lucaeg December 5, 2025 07:45
@tommyod tommyod merged commit bc28ab7 into equinor:main Dec 5, 2025
4 checks passed
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