Skip to content

store_unconstrained doesn't appear to do anything #215

@daniel-s-tccc

Description

@daniel-s-tccc

My understanding is that if you set it false, all the _log__ suffixed parameters shouldn't be returned in the trace. However, they linger:

import pymc as pm
import nutpie

with pm.Model() as model:
    a = pm.Exponential('a',scale=1)

compiled_model = nutpie.compile_pymc_model(model)
trace = nutpie.sample(compiled_model=compiled_model,store_unconstrained=False)

assert not hasattr(trace.posterior, 'a_log__')

Versions:

nutpie                    0.14.3          py311h533ab2d_0    conda-forge
pymc                      5.22.0               hd8ed1ab_0    conda-forge

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