powered by
Computing the most likely configuration for CRF
decode.trbp(crf, max.iter = 10000, cutoff = 1e-04, verbose = 0)
The CRF
The maximum allowed iterations of termination criteria
The convergence cutoff of termination criteria
Non-negative integer to control the tracing informtion in algorithm
This function will return the most likely configuration, which is a vector of length crf$n.nodes.
crf$n.nodes
Approximate decoding using max-product tree-reweighted belief propagtion
# NOT RUN { library(CRF) data(Small) d <- decode.trbp(Small$crf) # }
Run the code above in your browser using DataLab