make.par {CRF} | R Documentation |
Make the data structure of CRF parameters
make.par(crf, n.par = 1)
crf |
The CRF |
n.par |
The number of parameters |
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
.
This function will directly modify the CRF and return the same CRF.
crf.update
, make.features
, make.crf