Description Usage Arguments Details Value See Also
Train the MRF model to estimate the parameters
| 1 2 3 4 5 6 7 8 | train.mrf(
  crf,
  instances,
  nll = mrf.nll,
  infer.method = infer.chain,
  ...,
  trace = 0
)
 | 
| crf | The CRF | 
| instances | The training data matrix of CRF model | 
| nll | The function to calculate negative log likelihood | 
| infer.method | The inference method used to compute the likelihood | 
| ... | Extra parameters need by the inference method | 
| trace | Non-negative integer to control the tracing informtion of the optimization process | 
This function trains the Markov Random Fields (MRF) model, which is a simple variant of CRF model.
In the training data matrix instances, each row is an instance and 
each column corresponds a node in CRF.
This function will directly modify the CRF and return the same CRF.
mrf.update, mrf.stat, mrf.nll, make.crf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.