|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SamplingFromStatistic
This is the interface for sampling based on a sufficient statistic.
During the sampling the method drawParametersFromStatistic()
is used for
drawing the parameters from the posterior.
Method Summary | |
---|---|
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 |
Methods inherited from interface de.jstacs.sampling.SamplingComponent |
---|
acceptParameters, extendSampling, initForSampling, isInSamplingMode, parseNextParameterSet, parseParameterSet, samplingStopped |
Method Detail |
---|
void 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |