stan-dev / pystan

PyStan, a Python interface to Stan, a platform for statistical modeling. Documentation: https://pystan.readthedocs.io
ISC License
342 stars 59 forks source link

Documentation on sampling #336

Closed pipme closed 2 years ago

pipme commented 2 years ago

Describe the problem with the documentation

How to pass parameters to model.sample is unclear. For example I don't know how to set init, warmup and seed properly. ValueError: {'json': {'seed': ['Unknown field.']}} is raised when doing seed=1.

Suggest a potential alternative/fix

A more complete code example/tutorial need to be added.

riddell-stan commented 2 years ago

You're absolutely right about this documentation being missing. We had, in effect, an issue for this: https://github.com/stan-dev/pystan/issues/245

Contributions on this would certainly be welcome.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.