Package jdistlib.inference
Class BarkerGradientSampler
java.lang.Object
jdistlib.inference.BarkerGradientSampler
- All Implemented Interfaces:
Sampler
Exact gradient-informed Barker proposal with symmetric Gaussian magnitudes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsample(LogDensity target, double[] initialState, SamplingOptions options, RandomEngine random)
-
Constructor Details
-
BarkerGradientSampler
public BarkerGradientSampler()
-
-
Method Details
-
sample
public ChainResult sample(LogDensity target, double[] initialState, SamplingOptions options, RandomEngine random)
-