Skip to content

documentation: use StructArrays in worked example #157

@tpapp

Description

@tpapp

The design intends this usage, but it should be explicitly mentioned for new users who are not familiar with the ecosystem.

results = mcmc_with_warmup(Random.GLOBAL_RNG, ∇ℓ, 1000)
posterior = StructArray(transform.(transformation, results.chain))
posterior.some_parameter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions