Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cc.mallet.fst.semi_supervised
Class GEL2Criterion

    java.lang.Object
      cc.mallet.fst.semi_supervised.GECriterion
          cc.mallet.fst.semi_supervised.GEL2Criterion

    public class GEL2Criterion

extends GECriterion

Field Summary

Fields inherited from class cc.mallet.fst.semi_supervised.GECriterion
`count, expectation, name, target, weight`

Constructor Summary
`GEL2Criterion(java.lang.String name, double[] target, double weight)`

Method Summary
`protected double` | `getGradientConstant(int labelIndex)` Returns the constant value from the gradient, which will be different for different criteria.

Methods inherited from class cc.mallet.fst.semi_supervised.GECriterion
`getCount, getExpectation, getExpectation, getName, getTarget, getTarget, getWeight, setCount, setExpectation`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GEL2Criterion

    public GEL2Criterion(java.lang.String name,
                         double[] target,
                         double weight)

Method Detail

### getGradientConstant

    protected double getGradientConstant(int labelIndex)

  Description copied from class: `GECriterion`
  Returns the constant value from the gradient, which will be different for different criteria.

  Specified by:
    `getGradientConstant` in class `GECriterion`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD