Skip to content

RepeatSampler doesn't use MCMCChains.Chains #2669

@penelopeysm

Description

@penelopeysm

Minimal working example

julia> using Turing

julia> @model f() = x ~ Normal()
f (generic function with 2 methods)

julia> sample(f(), RepeatSampler(MH(), 3), 1000)
Sampling 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| Time: 0:00:02
1000-element Vector{Turing.Inference.Transition{OrderedDict{AbstractPPL.VarName, Any}, Float64, @NamedTuple{}}}:

Description

blah

Julia version info

Manifest

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions