|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AtmMarkovState | |
---|---|
org.knowceans.dirichlet.atm |
Uses of AtmMarkovState in org.knowceans.dirichlet.atm |
---|
Fields in org.knowceans.dirichlet.atm declared as AtmMarkovState | |
---|---|
protected AtmMarkovState |
AtmGibbsSampler.atmstate
State variables of the Lda gibbs sampler. |
(package private) AtmMarkovState |
AtmGibbsQuerySampler.atmstateq
stateq contains the query documents. |
private AtmMarkovState |
AtmQueryClient.mcmc
|
(package private) AtmMarkovState |
AtmGibbsQuerySampler.stateSave
stateSave contains the saved markov state (after initially loading the state. |
Methods in org.knowceans.dirichlet.atm that return AtmMarkovState | |
---|---|
AtmMarkovState |
AtmGibbsSampler.getState()
Get the current state of the markov chain. |
Methods in org.knowceans.dirichlet.atm with parameters of type AtmMarkovState | |
---|---|
void |
AtmMarkovState.copyTo(AtmMarkovState cps)
Copy the information contained in this to the fields of the argument object. |
void |
AtmGibbsSampler.gibbsAtmHeap(AtmMarkovState s,
ExtLdaConfiguration c)
Native gibbs sampling on the jvm heap |
protected int[] |
AtmGibbsSampler.sampleAtmFullConditional(AtmMarkovState s,
int m,
int n)
Sample an actor--topic pair (x_i, z_i) from the full conditional distribution: p(x_i = q,z_i = j|z_-i, w, x_i, a_d, r_d) = (cwt_mj + beta)/(cwtsum_j + W * beta) * (cat_qjr + alpha)/(catsum_qr + K * alpha) |
protected void |
AtmGibbsSampler.sampleCorpus(AtmMarkovState s)
Sample once through the corpus and update the corresponding state. |
Constructors in org.knowceans.dirichlet.atm with parameters of type AtmMarkovState | |
---|---|
AtmGibbsQuerySampler(AtmMarkovState state,
ExtLdaConfiguration conf,
java.util.Random rand,
boolean restorable)
Initialise the gibbs sampler with a known markov state (for querying). |
|
AtmGibbsSampler(AmqCorpus corpus,
AtmMarkovState state,
ExtLdaConfiguration conf,
java.util.Random rand)
Initialise the sampler with an existing state. |
|
AtmGibbsSampler(AtmMarkovState state,
ExtLdaConfiguration conf,
java.util.Random rand)
Initialise the sampler with an existing state. |
|
AtmMarkovState(AtmMarkovState state)
Copy constructor that copies all internal fields from state to this. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |