Skip to content

Dynamic list of data #115

Description

@guiguem

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions