Class MaxEntFLGEConstraints.MaxEntFLGEConstraint
- java.lang.Object
-
- cc.mallet.classify.constraints.ge.MaxEntFLGEConstraints.MaxEntFLGEConstraint
-
- Direct Known Subclasses:
MaxEntKLFLGEConstraints.MaxEntKLFLGEConstraint,MaxEntL2FLGEConstraints.MaxEntL2FLGEConstraint
- Enclosing class:
- MaxEntFLGEConstraints
protected abstract class MaxEntFLGEConstraints.MaxEntFLGEConstraint extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected doublecountprotected double[]expectationprotected double[]targetprotected doubleweight
-
Constructor Summary
Constructors Constructor Description MaxEntFLGEConstraint(double[] target, double weight)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description doublegetCount()double[]getExpectation()double[]getTarget()abstract doublegetValue(int li)doublegetWeight()
-