Skip to content
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

feature/latent samples #994

Merged
merged 39 commits into from
Apr 15, 2024
Merged

feature/latent samples #994

merged 39 commits into from
Apr 15, 2024

Conversation

rhayes777
Copy link
Owner

Analysis now compute a Samples object called latent_samples which comprises latent variables and corresponding sample data such as likelihood and weight.

Latent sample data is output in the same way as sample data using the same methods although not all function calls on samples have been mirrored for latent samples.

More complex models can be expressed by returning '.' separated paths.

e.g.

def compute_latent_variables(self, instance):
    return {"one.two": 3}

...

prior = latent_samples.model.one.two

Priors by GaussianPriors with zero sigma

@Jammy2211 Jammy2211 merged commit cea43bd into main Apr 15, 2024
4 checks passed
@Jammy2211 Jammy2211 deleted the feature/latent_samples branch April 18, 2024 12: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.

None yet

2 participants