|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.mallet.grmm.learning.ACRF.Template
cc.mallet.grmm.learning.ACRF.SequenceTemplate
public abstract static class ACRF.SequenceTemplate
Abstract class for Templates that expect a (FeatureVectorSequence, LabelsSequence) for their instances.
| Field Summary |
|---|
| Fields inherited from class cc.mallet.grmm.learning.ACRF.Template |
|---|
index, weights |
| Constructor Summary | |
|---|---|
ACRF.SequenceTemplate()
|
|
| Method Summary | |
|---|---|
protected abstract void |
addInstantiatedCliques(ACRF.UnrolledGraph graph,
FeatureVectorSequence fvs,
LabelsAssignment lblseq)
Adds all instiated cliques for an instance. |
void |
addInstantiatedCliques(ACRF.UnrolledGraph graph,
Instance instance)
Adds all instiated cliques for an instance. |
| Methods inherited from class cc.mallet.grmm.learning.ACRF.Template |
|---|
addSomeUnsupportedWeights, computeAssignment, computeFactor, createFactorMatrix, getAssignmentsPresent, getDefaultWeight, getDefaultWeights, getWeights, initWeights, isSupportedOnly, isTrainable, isUnsupportedWeightsAdded, modifyPotential, setDefaultWeight, setDefaultWeights, setTrainable, setWeights |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ACRF.SequenceTemplate()
| Method Detail |
|---|
protected abstract void addInstantiatedCliques(ACRF.UnrolledGraph graph,
FeatureVectorSequence fvs,
LabelsAssignment lblseq)
graph - The graph that the cliques will be added to.fvs - The input features of the instance to unroll the
cliques for.lblseq - The label sequence of the instance being unrolled.
public void addInstantiatedCliques(ACRF.UnrolledGraph graph,
Instance instance)
ACRF.Template
addInstantiatedCliques in class ACRF.Templategraph - The graph that the cliques will be added to.instance - Instance to unroll grpah for. Subclasses are free
to specify what types they expect in the Instance's slots.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||