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

Dynamic list of data #115

Open
guiguem opened this issue Aug 28, 2018 · 1 comment
Open

Dynamic list of data #115

guiguem opened this issue Aug 28, 2018 · 1 comment

Comments

@guiguem
Copy link
Contributor

guiguem commented Aug 28, 2018

Stan cannot load data as vector with an unknown size.
When using a python script, this is manageable as the size of the vector can be given to the processor.
However, when using a config file, things are hardcoded...
This is an issue relatively annoying as we will deal with data objects where the number of observations is unknown until execution.

A possible way is to define an hidden variable for each data which is a list: the pattern could be that, for data named myData, one could have an integer called _N_myData given to pystan.

@guiguem guiguem changed the title Dynamic list of observations Dynamic list of data Aug 28, 2018
@guiguem guiguem self-assigned this Aug 29, 2018
@guiguem
Copy link
Contributor Author

guiguem commented Sep 17, 2018

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