-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Stan programs have a set of defined blocks like data, parameters or model. from_cmdstanpy has two observed_data and constant_data that take dictionaries of string->array-like, and data in a similar fashion is a required input when sampling with cmdstanpy. But there is also a transformed data block. Users can obviously transform the data manually and add it to the respective dict. But if there is a way to have cmdstanpy handle the transformations I think it would be nice to avoid this duplication.
An option that comes to mind could be adding {"key": None} to signal the value should be extracted/generated from the transformed data block.
How do other people feel about this? Anyone knows if it is possible? Other better ideas for the API?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested