|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.transform.OrderBasedInstanceTransform
public class OrderBasedInstanceTransform
Constructor Summary | |
---|---|
OrderBasedInstanceTransform()
Constructor |
Method Summary | |
---|---|
void |
addFeatureVal(double infoGain,
Feature f)
Adds the Info-Gain score of feature f to the InstanceTransform |
void |
setNumberOfFeatures(int number)
Number of features with the highest Info-Gain scores to keep in the dataset |
Dataset |
transform(Dataset dataset)
Transform a dataset according to Info-Gain criterion |
Example |
transform(Example example)
Not used |
Instance |
transform(Instance instance)
Not used |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderBasedInstanceTransform()
Method Detail |
---|
public Instance transform(Instance instance)
transform
in interface InstanceTransform
public Example transform(Example example)
transform
in interface InstanceTransform
public Dataset transform(Dataset dataset)
transform
in interface InstanceTransform
public void setNumberOfFeatures(int number)
public void addFeatureVal(double infoGain, Feature f)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |