TuringLang / AbstractMCMC.jl

Abstract types and interfaces for Markov chain Monte Carlo methods
https://turinglang.org/AbstractMCMC.jl
MIT License
87 stars 18 forks source link

(Possibly) provide a unified interface for transitions #145

Closed penelopeysm closed 5 days ago

penelopeysm commented 2 months ago

As discussed in https://github.com/TuringLang/Turing.jl/pull/2304, it may be worthwhile implementing an AbstractTransition supertype in this library and defining a basic interface that exposes the key information in a transition.

Other libraries in the Turing ecosystem (e.g. Turing itself, AdvancedMH, AdvancedHMC) can then either directly subtype this or make a specialised implementation of Transition if necessary. Right now, all of those implement their own Transition types.

yebai commented 5 days ago

Closed in favour of https://github.com/TuringLang/AbstractMCMC.jl/issues/149