Uses of Class
org.tribuo.classification.sgd.crf.ChainHelper.ChainCliqueValues
Package
Description
Provides an implementation of a linear chain CRF trained using Stochastic Gradient Descent.
-
Uses of ChainHelper.ChainCliqueValues in org.tribuo.classification.sgd.crf
Modifier and TypeFieldDescriptionChainHelper.ChainBPResults.scores
The local clique scores (i.e., the linear model scores).ChainHelper.ChainViterbiResults.scores
The pre-viterbi scores.Modifier and TypeMethodDescriptionCRFParameters.getCliqueValues
(SGDVector[] features) Generates the local scores and tuples them with the label - label transition weights.Modifier and TypeMethodDescriptionstatic ChainHelper.ChainBPResults
ChainHelper.beliefPropagation
(ChainHelper.ChainCliqueValues scores) Runs belief propagation on a linear chain CRF.static double
ChainHelper.constrainedBeliefPropagation
(ChainHelper.ChainCliqueValues scores, int[] constraints) Runs constrained belief propagation on a linear chain CRF.ChainHelper.viterbi
(ChainHelper.ChainCliqueValues scores) Runs Viterbi on a linear chain CRF.