Skip to content

have a working pystan #780

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

Open
stonebig opened this issue Oct 5, 2019 · 0 comments
Open

have a working pystan #780

stonebig opened this issue Oct 5, 2019 · 0 comments

Comments

@stonebig
Copy link
Contributor

stonebig commented Oct 5, 2019

basic test:

https://stackoverflow.com/questions/56701359/running-setup-py-install-for-fbprophet-error

import pystan
model_code = 'parameters {real y;} model {y ~ normal(0,1);}'
model = pystan.StanModel(model_code=model_code)
y = model.sampling().extract()['y']
y.mean()  # with luck the result will be near 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant