|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.transform.OrderBasedTransformLearner
public class OrderBasedTransformLearner
A simple feature filter based on orderings. The frequency model is resposible for deciding 'what to count'. If set to "document" this filter counts the number of documents which contain a Feature; if set to "word" this filter counts the number of times a Feature appears in the whole dataset.
Constructor Summary | |
---|---|
OrderBasedTransformLearner()
Constructors |
|
OrderBasedTransformLearner(java.lang.String model)
|
Method Summary | |
---|---|
InstanceTransform |
batchTrain(Dataset dataset)
Examine data, build an instance transformer |
static void |
main(java.lang.String[] args)
|
void |
setSchema(ExampleSchema schema)
Accept an ExampleSchema - constraints on what the Examples will be. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderBasedTransformLearner()
public OrderBasedTransformLearner(java.lang.String model)
Method Detail |
---|
public void setSchema(ExampleSchema schema)
setSchema
in interface InstanceTransformLearner
public InstanceTransform batchTrain(Dataset dataset)
batchTrain
in interface InstanceTransformLearner
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |