public interface SamplingFromStatistic extends SamplingComponent
drawParametersFromStatistic() is used for
drawing the parameters from the posterior.| Modifier and Type | Method and Description |
|---|---|
void |
drawParametersFromStatistic()
This method draws the parameters using a sufficient statistic representing a posteriori
density.
|
double |
getLogPosteriorFromStatistic()
This method calculates the a-posteriori probability for the current statistics
|
acceptParameters, extendSampling, initForSampling, isInSamplingMode, parseNextParameterSet, parseParameterSet, samplingStoppedvoid drawParametersFromStatistic()
throws Exception
SamplingComponent.acceptParameters() so that they can later be parsed using the
methods of the interface.
SamplingComponent.initForSampling(int) should be
called.Exception - if there is a problem with drawing the parameters, the initialization, ...SamplingComponent.initForSampling(int),
SamplingComponent.acceptParameters()double getLogPosteriorFromStatistic()