Description Usage Arguments Details Value Examples
Generating samples from the distribution
1 | sample.junction(crf, size)
|
crf |
The CRF |
size |
The sample size |
Exact sampling for low-treewidth graphs using junction trees
This function will return a matrix with size
rows and crf$n.nodes
columns,
in which each row is a sampled configuration.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.