Learn R Programming

CRF (version 0.4-3)

make.par: Make CRF parameters

Description

Make the data structure of CRF parameters

Usage

make.par(crf, n.par = 1)

Arguments

crf

The CRF

n.par

The number of parameters

Value

This function will directly modify the CRF and return the same CRF.

Details

This function makes the data structure of parameters need for modeling and training CRF. The parameters are stored in par, which is a numeric vector of length n.par.

See Also

crf.update, make.features, make.crf