Skip to content

nested sample_dims rcParam? #76

Open
@OriolAbril

Description

@OriolAbril

Most things are compatible with arbitrary sample_dims, but at the same time things like:

post = az.extract(idata)
post.azstats.hdi()

won't work. We need to either use combined=False in extract or sample_dims="sample" in hdi. I was thinking that a potential alternative would be having sample_dims = [["chain", "draw"], ["sample"]] and then for sample_dims=None loop over all registered sample_dims combinations in rcParams, and use the first one where all sample_dims are present in all input variables.

I think this will generate more issues than what it will solve, but I wanted to post anyway and see how other people feel

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