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

Extract posterior distribution information #90

Open
akgopan opened this issue Apr 14, 2020 · 1 comment
Open

Extract posterior distribution information #90

akgopan opened this issue Apr 14, 2020 · 1 comment

Comments

@akgopan
Copy link

akgopan commented Apr 14, 2020

How would we extract the posterior distribution information from a theano.tensor.var.TensorVariable to numpy arrays?
Current method makes it hard to utilize this information to be part of a bigger code where you might want to use the posterior distribution (or say just the mean and HPD bounds?).

@ericmjl
Copy link
Owner

ericmjl commented Apr 14, 2020

@akgopan the you would want to use the posterior trace object, which contain draws from the posterior. I have done this by using draws from the posterior in agent-based simulations at work.

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