Skip to content

Conversation

henry-berger
Copy link

@henry-berger henry-berger commented Mar 27, 2025

The BHM Pytorch classes appear to have a typo in predictSampling. Instead of returning the mean and standard deviation of the samples, the current code returns two copies of the standard deviation.

This PR fixes that, by computing the mean and standard deviation. This is consistent with the way the mean and standard deviation are computed in BHM_tutorial.ipynb.

@henry-berger henry-berger marked this pull request as ready for review March 27, 2025 17:21
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.

1 participant