|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.mallet.fst.CRFOptimizableByLabelLikelihood
cc.mallet.fst.MEMMTrainer.MEMMOptimizableByLabelLikelihood
public class MEMMTrainer.MEMMOptimizableByLabelLikelihood
Represents the terms in the objective function.
The weights are trained by matching the expectations of the model to the observations gathered from the data.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class cc.mallet.fst.CRFOptimizableByLabelLikelihood |
|---|
CRFOptimizableByLabelLikelihood.Factory |
| Nested classes/interfaces inherited from interface cc.mallet.optimize.Optimizable |
|---|
Optimizable.ByBatchGradient, Optimizable.ByCombiningBatchGradient, Optimizable.ByGISUpdate, Optimizable.ByGradient, Optimizable.ByGradientValue, Optimizable.ByHessian, Optimizable.ByValue, Optimizable.ByVotedPerceptron |
| Field Summary |
|---|
| Fields inherited from class cc.mallet.fst.CRFOptimizableByLabelLikelihood |
|---|
cachedGradient, cachedValue, constraints, crf, expectations, trainingSet |
| Constructor Summary | |
|---|---|
protected |
MEMMTrainer.MEMMOptimizableByLabelLikelihood(MEMM memm,
InstanceList trainingData)
|
| Method Summary | |
|---|---|
protected double |
gatherExpectationsOrConstraints(boolean gatherConstraints)
|
protected double |
getExpectationValue()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface cc.mallet.optimize.Optimizable.ByGradientValue |
|---|
getValue, getValueGradient |
| Methods inherited from interface cc.mallet.optimize.Optimizable |
|---|
getNumParameters, getParameter, getParameters, setParameter, setParameters |
| Constructor Detail |
|---|
protected MEMMTrainer.MEMMOptimizableByLabelLikelihood(MEMM memm,
InstanceList trainingData)
| Method Detail |
|---|
protected double gatherExpectationsOrConstraints(boolean gatherConstraints)
protected double getExpectationValue()
getExpectationValue in class CRFOptimizableByLabelLikelihood
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||