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 double
count
protected double[]
expectation
protected double[]
target
protected double
weight
-
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 double
getCount()
double[]
getExpectation()
double[]
getTarget()
abstract double
getValue(int li)
double
getWeight()
-