We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9361c39 commit 39c4d87Copy full SHA for 39c4d87
src/gibbs.jl
@@ -6,14 +6,8 @@ An interface for block sampling in Markov Chain Monte Carlo (MCMC).
6
Gibbs sampling is a technique for dividing complex multivariate problems into simpler subproblems.
7
It allows different sampling methods to be applied to different parameters.
8
"""
9
-struct Gibbs <: AbstractMCMC.AbstractSampler
10
- sampler_map::NamedTuple
11
- parameter_names::Tuple{Vararg{Symbol}}
12
-
13
- function Gibbs(sampler_map::NamedTuple)
14
- parameter_names = Tuple(keys(sampler_map))
15
- return new(sampler_map, parameter_names)
16
- end
+struct Gibbs{NT} <: AbstractMCMC.AbstractSampler
+ sampler_map::NT
17
end
18
19
struct GibbsState
0 commit comments