|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.transform.TFIDFTransformLearner
public class TFIDFTransformLearner
Replaces feature counts by a TFIDF version of counts.
Constructor Summary | |
---|---|
TFIDFTransformLearner()
|
Method Summary | |
---|---|
InstanceTransform |
batchTrain(Dataset dataset)
Examine data, build an instance transformer |
void |
setSchema(ExampleSchema schema)
The schema's not used here... |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TFIDFTransformLearner()
Method Detail |
---|
public void setSchema(ExampleSchema schema)
setSchema
in interface InstanceTransformLearner
public InstanceTransform batchTrain(Dataset dataset)
InstanceTransformLearner
batchTrain
in interface InstanceTransformLearner
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |