ObservationType
- Type of observations handled by the MCMC algorithm.ParameterType
- Type of parameters to infer.public static interface MetropolisHastingsAlgorithm.Updater<ObservationType,ParameterType> extends CloneableSerializable
Modifier and Type | Method and Description |
---|---|
double |
computeLogLikelihood(ParameterType parameter,
java.lang.Iterable<? extends ObservationType> data)
Computes the log likelihood of the data given the parameter
|
ParameterType |
createInitialParameter()
Creates the initial parameterization
|
WeightedValue<ParameterType> |
makeProposal(ParameterType location)
Makes a proposal update given the current parameter set
|
clone
ParameterType createInitialParameter()
double computeLogLikelihood(ParameterType parameter, java.lang.Iterable<? extends ObservationType> data)
parameter
- Parameter to considerdata
- Data to considerWeightedValue<ParameterType> makeProposal(ParameterType location)
location
- Location from which to make a proposal