Skip to content

Clarify Inputs API for regular, stabilized, and non-stabilized PT #291

@sefffal

Description

@sefffal

Based on discussion in #290 (comment)_
I would suggest that the API be adjusted a bit.

I had previously misunderstood how to control if regular PT, stabilized PT, and non-stabilized PT are used.

Here is the current API usage for Inputs:
Regular PT: n_chains=8, n_chains_variational=0, variational=nothing
Stabilized Variational PT: n_chains=8, n_chains_variational=8, variational=GaussianReference....
Non-stabilized variational PT: n_chains=8, n_chains_variational=0, variational=GaussianReference....

Here is how I thought it worked:
Regular PT: n_chains=8, n_chains_variational=0, variational=Anythong (ie. variational argument was ignored if n_chains_variational=0,)
Stabilized Variational PT: n_chains=8, n_chains_variational=8, variational=GaussianReference....
Non-stabilized variational PT: n_chains=0, n_chains_variational=8, variational=GaussianReference....

Another factor that lead to my confusion is that in Non-stabilized variational PT, the sampler output table shows the column Λ instead of Λ_var. IMO this last point could be considered a bug?

In fact, I think I have at times been using non-stabilized variational PT when I thought I was using regular PT (with no variational chains).

Thanks all!

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