Description Usage Arguments Details Value Examples
Computing the most likely configuration for CRF
1 | decode.marginal(crf, infer.method, ...)
|
crf |
The CRF |
infer.method |
The inference method |
... |
The parameters for |
Approximate decoding using inference (takes an inference method as input)
This function will return the most likely configuration, which is a vector of length crf$n.nodes
.
1 2 3 | library(CRF)
data(Small)
d <- decode.marginal(Small$crf, infer.exact)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.