cc.mallet.fst.semi_supervised.pr.constraints
Class OneLabelL2PRConstraints.OneLabelPRConstraint

java.lang.Object
  extended by cc.mallet.fst.semi_supervised.pr.constraints.OneLabelL2PRConstraints.OneLabelPRConstraint
Enclosing class:
OneLabelL2PRConstraints

protected class OneLabelL2PRConstraints.OneLabelPRConstraint
extends java.lang.Object


Field Summary
protected  double count
           
protected  double[] expectation
           
protected  double[] target
           
protected  double weight
           
 
Constructor Summary
OneLabelL2PRConstraints.OneLabelPRConstraint(double[] target, double weight)
           
 
Method Summary
 OneLabelL2PRConstraints.OneLabelPRConstraint copy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

protected double[] target

expectation

protected double[] expectation

count

protected double count

weight

protected double weight
Constructor Detail

OneLabelL2PRConstraints.OneLabelPRConstraint

public OneLabelL2PRConstraints.OneLabelPRConstraint(double[] target,
                                                    double weight)
Method Detail

copy

public OneLabelL2PRConstraints.OneLabelPRConstraint copy()