ObservationType
- Type of observationParameterType
- Type of parameters to inferpublic static interface RejectionSampling.Updater<ObservationType,ParameterType> extends CloneableSerializable
Modifier and Type | Method and Description |
---|---|
double |
computeAcceptanceProbability(ParameterType parameter,
java.lang.Iterable<? extends ObservationType> data)
Computes the probability of accepting the parameter for the given
data.
|
ParameterType |
makeProposal(java.util.Random random)
Samples from the parameter prior
|
clone
double computeAcceptanceProbability(ParameterType parameter, java.lang.Iterable<? extends ObservationType> data)
parameter
- Parameter to considerdata
- Data to consider.ParameterType makeProposal(java.util.Random random)
random
- Random number generator.