Uses of Class
org.knowceans.dirichlet.lda.LdaMarkovState

Packages that use LdaMarkovState
org.knowceans.dirichlet.atm   
org.knowceans.dirichlet.lda   
org.knowceans.dirichlet.sandbox   
 

Uses of LdaMarkovState in org.knowceans.dirichlet.atm
 

Subclasses of LdaMarkovState in org.knowceans.dirichlet.atm
 class AtmMarkovState
          AtmMarkovState represents the state of the gibbs sampler of the lda process used for estimating unknown documents (word vectors).
 

Uses of LdaMarkovState in org.knowceans.dirichlet.lda
 

Fields in org.knowceans.dirichlet.lda declared as LdaMarkovState
private  LdaMarkovState LdaQueryClient.mcmc
           
protected  LdaMarkovState LdaGibbsSampler.state
          State variables of the Lda gibbs sampler.
(package private)  LdaMarkovState LdaGibbsQuerySampler.stateq
          stateq contains the query documents.
(package private)  LdaMarkovState LdaGibbsQuerySampler.stateSave
          stateSave contains the saved markov state (after initially loading the state.
 

Methods in org.knowceans.dirichlet.lda that return LdaMarkovState
 LdaMarkovState LdaGibbsSampler.getState()
          Get the current state of the markov chain.
 

Methods in org.knowceans.dirichlet.lda with parameters of type LdaMarkovState
 void LdaMarkovState.copyTo(LdaMarkovState cps)
          Copy the information contained in this to the fields of the argument object.
 void LdaGibbsSampler.gibbsHeap(LdaMarkovState s, ExtLdaConfiguration c)
          Native gibbs sampling on the jvm heap
protected  void LdaGibbsSampler.sampleCorpus(LdaMarkovState s)
          Sample once through the corpus and update the corresponding state.
protected  int LdaGibbsSampler.sampleLdaFullConditional(LdaMarkovState s, int m, int n)
          Sample a topic z_i from the full conditional distribution: p(z_i = j | z_-i, w) = (n_-i,j(w_i) + beta)/(n_-i,j(.) + W * beta) * (n_-i,j(d_i) + alpha)/(n_-i,.
 

Constructors in org.knowceans.dirichlet.lda with parameters of type LdaMarkovState
ExtLdaConfiguration(LdaMarkovState mcmc)
          Create a configuration that is consistent with the markov state.
LdaGibbsQuerySampler(LdaMarkovState state, ExtLdaConfiguration conf, boolean restorable)
          Initialise the gibbs sampler with a known markov state (for querying).
LdaGibbsQuerySampler(LdaMarkovState state, ExtLdaConfiguration conf, java.util.Random rand, boolean restorable)
          Initialise the gibbs sampler with a known markov state (for querying).
LdaGibbsSampler(ITermCorpus corpus, LdaMarkovState state, ExtLdaConfiguration conf, java.util.Random rand)
          Initialise the sampler with an existing state.
LdaGibbsSampler(LdaMarkovState state, ExtLdaConfiguration conf, java.util.Random rand)
          Initialise the sampler with an existing state.
LdaMarkovState(LdaMarkovState state)
          Copy constructor that copies all internal fields from state to this.
 

Uses of LdaMarkovState in org.knowceans.dirichlet.sandbox
 

Subclasses of LdaMarkovState in org.knowceans.dirichlet.sandbox
 class LdaMarkovStateHyper
          LdaMarkovStateHyperCps is a markov state that supports training of hyperparameters, both for vectorial and symmetric priors.
 

Methods in org.knowceans.dirichlet.sandbox with parameters of type LdaMarkovState
protected  void LdaGibbsSamplerHyper.sampleCorpus(LdaMarkovState s)
           
protected  int LdaGibbsSamplerHyper.sampleLdaFullConditional(LdaMarkovState ms, int m, int n)
          Sample a topic z_i from the full conditional distribution: p(z_i = j | z_-i, w) = (n_-i,j(w_i) + beta(w_i))/(n_-i,j(.) + sum beta) * (n_-i,j(d_i) + alpha(j))/(n_-i,.