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

implement sampling from pdf #98

Closed
lukasheinrich opened this issue Apr 1, 2018 · 3 comments
Closed

implement sampling from pdf #98

lukasheinrich opened this issue Apr 1, 2018 · 3 comments

Comments

@lukasheinrich
Copy link
Contributor

Description

We would like to be able to sample from the pdf. For that we need to

  1. sample values for auxiliary measurements
  2. based on aux data, derive poisson rate parameters
  3. sample from poissons

e.g.

pdf = pyhf.pdf(...)
data  = pdf.sample()
@matthewfeickert
Copy link
Member

matthewfeickert commented Apr 11, 2018

@lukasheinrich Given PR #108, we should also probably check out TensorFlow Probability (maybe specifically tfp.edward2), which made its public release announcement today. (great work, Dustin!)

@lukasheinrich
Copy link
Contributor Author

lukasheinrich commented Apr 11, 2018

seeing that is the reason I opened this issue #109 :)

@lukasheinrich
Copy link
Contributor Author

closing this in lieu of #109

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

No branches or pull requests

2 participants