ObservationType
- Type of observationParameterType
- Type of parameters to inferpublic static interface ImportanceSampling.Updater<ObservationType,ParameterType> extends CloneableSerializable
Modifier and Type | Method and Description |
---|---|
double |
computeLogImportanceValue(ParameterType parameter)
Computes the parameter's importance weight.
|
double |
computeLogLikelihood(ParameterType parameter,
java.lang.Iterable<? extends ObservationType> data)
Computes the log likelihood of the data given the parameter
|
ParameterType |
makeProposal(java.util.Random random)
Samples from the parameter prior
|
clone
double computeLogLikelihood(ParameterType parameter, java.lang.Iterable<? extends ObservationType> data)
parameter
- Parameter to considerdata
- Data to considerdouble computeLogImportanceValue(ParameterType parameter)
parameter
- Parameter to considerParameterType makeProposal(java.util.Random random)
random
- Random number generator.