gcrf
Fits a first-order linear conditional random field labeler for generic observation objects. This is an alias for crf matching the Scala API convention.
Return
the CRF sequence labeler.
Parameters
the observation sequences.
sequence labels.
the number of trees/iterations.
the maximum depth of the tree.
the maximum number of leaf nodes in the tree.
the number of instances in a node below which the tree will not split.
the shrinkage parameter in (0, 1] controlling the learning rate.
the feature extraction function converting each observation item to a Tuple.
Type Parameters
the data type of observations.
Fits a first-order linear conditional random field labeler for generic observation objects with given hyperparameters. This is an alias for crf matching the Scala API convention.
Return
the CRF sequence labeler.
Parameters
the observation sequences.
sequence labels.
the CRF hyperparameters.
the feature extraction function converting each observation item to a Tuple.
Type Parameters
the data type of observations.