|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.FeatureFactory edu.cmu.minorthird.classify.SGMFeatureFactory
public class SGMFeatureFactory
For Stacked Graphical Learning. Creates Features, and maintains a mapping between Features and numeric ids. Also ensures that only a single feature instance exists with a particular name. Add the ExampleID when creating new SGMExample.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.cmu.minorthird.classify.FeatureFactory |
---|
FeatureFactory.CompactInstance |
Constructor Summary | |
---|---|
SGMFeatureFactory()
|
Method Summary | |
---|---|
SGMExample |
compressSGM(SGMExample example)
Return a version of the example in which all features have been translated to canonical versions from the feature factory. |
Methods inherited from class edu.cmu.minorthird.classify.FeatureFactory |
---|
compress, compress, compress, contains, getFeature, getFeature, getFeature, getFeature, getID, getMaxFeatureIndex, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SGMFeatureFactory()
Method Detail |
---|
public SGMExample compressSGM(SGMExample example)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |