|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.mallet.fst.semi_supervised.GECriterion
cc.mallet.fst.semi_supervised.GEKLCriterion
public class GEKLCriterion
| Field Summary |
|---|
| Fields inherited from class cc.mallet.fst.semi_supervised.GECriterion |
|---|
count, expectation, name, target, weight |
| Constructor Summary | |
|---|---|
GEKLCriterion(java.lang.String name,
double[] target,
double weight)
|
|
| Method Summary | |
|---|---|
protected double |
getGradientConstant(int labelIndex)
Returns the target/expectation ratio required in lattice computations. |
| 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 |
|---|
public GEKLCriterion(java.lang.String name,
double[] target,
double weight)
| Method Detail |
|---|
protected double getGradientConstant(int labelIndex)
*Note*: The ratio is divided by the feature count if the label expectations have been normalized.
getGradientConstant in class GECriterion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||