Skip to content

feature/latent samples#994

Merged
Jammy2211 merged 39 commits intomainfrom
feature/latent_samples
Apr 15, 2024
Merged

feature/latent samples#994
Jammy2211 merged 39 commits intomainfrom
feature/latent_samples

Conversation

@rhayes777
Copy link
Copy Markdown
Collaborator

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
@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.

2 participants