Package jdistlib.inference
Class AdjustedMicrocanonicalLangevin
java.lang.Object
jdistlib.inference.AdjustedMicrocanonicalLangevin
- All Implemented Interfaces:
Sampler
Metropolis-adjusted microcanonical Langevin sampler (MHMCHMC).
This is the adjusted, asymptotically exact counterpart of MCLMC. It uses the reversible isokinetic McLachlan splitting and a unit-norm momentum. The method requires at least two dimensions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsample(LogDensity target, double[] initialState, SamplingOptions options, RandomEngine random)
-
Constructor Details
-
AdjustedMicrocanonicalLangevin
public AdjustedMicrocanonicalLangevin()
-
-
Method Details
-
sample
public ChainResult sample(LogDensity target, double[] initialState, SamplingOptions options, RandomEngine random)
-