|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.grmm.learning.ACRF.Template cc.mallet.grmm.learning.ACRF.SequenceTemplate cc.mallet.grmm.learning.ACRF.PairwiseFactorTemplate
public static class ACRF.PairwiseFactorTemplate
A template that adds edges between cotemporal nodes of a given pair of factors.
Field Summary |
---|
Fields inherited from class cc.mallet.grmm.learning.ACRF.Template |
---|
index, weights |
Constructor Summary | |
---|---|
ACRF.PairwiseFactorTemplate(int factor0,
int factor1)
|
Method Summary | |
---|---|
void |
addInstantiatedCliques(ACRF.UnrolledGraph graph,
FeatureVectorSequence fvs,
LabelsAssignment lblseq)
Adds all instiated cliques for an instance. |
java.lang.String |
toString()
|
Methods inherited from class cc.mallet.grmm.learning.ACRF.SequenceTemplate |
---|
addInstantiatedCliques |
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, wait, wait, wait |
Constructor Detail |
---|
public ACRF.PairwiseFactorTemplate(int factor0, int factor1)
Method Detail |
---|
public void addInstantiatedCliques(ACRF.UnrolledGraph graph, FeatureVectorSequence fvs, LabelsAssignment lblseq)
ACRF.SequenceTemplate
addInstantiatedCliques
in class ACRF.SequenceTemplate
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 java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |