Burnin | R Documentation |
Run the Gibbs sampling burnin (one thread)
Burnin( hdp.state, seedNumber = 1, burnin = 5000, cpiter = 3, burnin.verbosity = 0, burnin.multiplier = 2, checkpoint = TRUE )
hdp.state |
An |
seedNumber |
Set the random seed to this value. |
burnin |
The number of burn-in iterations in
one batch. The total number of burnin iterations is
|
cpiter |
The number of iterations of concentration parameter sampling to perform after each main Gibbs-sample iteration. (See Teh et al., "Hierarchical Dirichlet Processes", Journal of the American Statistical Association 2006;101(476):1566-1581 (https://doi.org/10.1198/016214506000000302).) |
burnin.verbosity |
Verbosity of message statements. |
burnin.multiplier |
Run |
checkpoint |
If |
A list with 2 elements:
hdplist
A list representation of
an hdpState-class
object.
likelihood
A numeric vector with the likelihood at each iteration.
This is the same type as returned from link[hdp]{hdp_burnin}
in package hdpx.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.