All Packages Class Hierarchy This Package Previous Next Index WEKA's home
java.lang.Object | +----weka.attributeSelection.ASEvaluation | +----weka.attributeSelection.SubsetEvaluator | +----weka.attributeSelection.WrapperSubsetEval
For more information see:
Kohavi, R., John G., Wrappers for Feature Subset Selection.
In Artificial Intelligence journal, special issue on relevance,
Vol. 97, Nos 1-2, pp.273-324.
Valid options are:
-B
Class name of base learner to use for accuracy estimation.
Place any classifier options last on the command line following a
"--". Eg -B weka.classifiers.NaiveBayes ... -- -K
-F
-T
-B
-F
-T
Number of cross validation folds to use for estimating accuracy.
Threshold by which to execute another cross validation (standard deviation
---expressed as a percentage of the mean).
WrapperSubsetEval
public WrapperSubsetEval()
listOptions
public Enumeration listOptions()
setOptions
public void setOptions(String options[]) throws Exception
setThreshold
Class name of base learner to use for accuracy estimation.
Place any classifier options last on the command line following a
"--". Eg -B weka.classifiers.NaiveBayes ... -- -K
Number of cross validation folds to use for estimating accuracy.
Threshold by which to execute another cross validation (standard deviation
---expressed as a percentage of the mean).
public void setThreshold(double t)
getThreshold
public double getThreshold()
setFolds
public void setFolds(int f)
getFolds
public int getFolds()
setSeed
public void setSeed(int s)
getSeed
public int getSeed()
setClassifier
public void setClassifier(Classifier newClassifier)
getClassifier
public Classifier getClassifier()
getOptions
public String[] getOptions()
buildEvaluator
public void buildEvaluator(Instances data) throws Exception
evaluateSubset
public double evaluateSubset(BitSet subset) throws Exception
toString
public String toString()
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index WEKA's home