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

Enable sampling from variational distribution #458

Closed
wants to merge 6 commits into from

Conversation

dereklhansen
Copy link
Contributor

No description provided.

@dereklhansen
Copy link
Contributor Author

dereklhansen commented Feb 25, 2022

We demo a simple procedure where we draw 5 samples from the variational posterior, calculate the likelihood for the whole image, and pick the one which maximizes likelihood (still need to add in prior information).

On the first example 300x300, precision increases from 0.8 to 0.9 without dropping recall.

image

On the second example 300x300, both precision and recall drop

image

On the entire image, precision increases a little while recall drops quite a bit (0.97 -> 0.89)

image

@jeff-regier
Copy link
Contributor

Will this PR close #363?

@dereklhansen
Copy link
Contributor Author

Closes #363.

@dereklhansen dereklhansen linked an issue Mar 21, 2022 that may be closed by this pull request
@jeff-regier jeff-regier deleted the derek/inference-sampling branch August 5, 2023 10:48
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.

Incorporate uncertainty in galaxy parameters into predictions
2 participants