|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object blog.Sampler blog.MHSampler blog.DMHSampler
public class DMHSampler
Implements a Metropolis-Hastings sampler with the DecayedProposer
.
Field Summary |
---|
Fields inherited from class blog.MHSampler |
---|
acceptProbTimer, curWorld, numAcceptedThisTrial, numSamplesThisTrial, numTrials, proposer, totalNumAccepted, totalNumSamples, worldUpdateTimer |
Fields inherited from class blog.Sampler |
---|
evidence, model, queries |
Constructor Summary | |
---|---|
DMHSampler(Model model,
java.util.Properties properties)
Creates a new sampler for the given BLOG model. |
Method Summary | |
---|---|
protected void |
constructProposer(java.util.Properties properties)
Method responsible for initializing the proposer field. |
int |
getMaxRecall()
|
Methods inherited from class blog.MHSampler |
---|
getLatestWorld, initialize, nextSample, nextSample, printStats, setWorld |
Methods inherited from class blog.Sampler |
---|
getLatestWeight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DMHSampler(Model model, java.util.Properties properties)
MHSampler
and the proposer DecayedProposer
.
Method Detail |
---|
protected void constructProposer(java.util.Properties properties)
constructProposer
in class MHSampler
public int getMaxRecall()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |