Skip to content

A chain to vector of NamedTuples utility? #456

Closed
@SamuelBrand1

Description

@SamuelBrand1

Hi everyone!

Functions like condition and generated_quantities take NamedTuples as arguments (and Dicts). Sometimes this is really convenient, for example, in counter-factual modelling. Or in extending samples one model into a related model, e.g. for Bayesian forecasting.

However, I can't find a utility that maps between a chain object and an iterable object of NamedTuples. If it doesn't exist I think this would be a useful addition!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions