public class ExhaustiveSearch
extends weka.attributeSelection.ASSearch
implements weka.core.OptionHandler
-V Output subsets as the search progresses. (default = false).
Constructor and Description |
---|
ExhaustiveSearch()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getOptions()
Gets the current settings of RandomSearch.
|
java.lang.String |
getRevision()
Returns the revision string.
|
boolean |
getVerbose()
get whether or not output is verbose
|
java.lang.String |
globalInfo()
Returns a string describing this search method
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
int[] |
search(weka.attributeSelection.ASEvaluation ASEval,
weka.core.Instances data)
Searches the attribute subset space using an exhaustive search.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setVerbose(boolean v)
set whether or not to output new best subsets as the search proceeds
|
java.lang.String |
toString()
prints a description of the search
|
java.lang.String |
verboseTipText()
Returns the tip text for this property
|
public java.lang.String globalInfo()
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class weka.attributeSelection.ASSearch
public void setOptions(java.lang.String[] options) throws java.lang.Exception
-V Output subsets as the search progresses. (default = false).
setOptions
in interface weka.core.OptionHandler
setOptions
in class weka.attributeSelection.ASSearch
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String verboseTipText()
public void setVerbose(boolean v)
v
- true if output is to be verbosepublic boolean getVerbose()
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class weka.attributeSelection.ASSearch
public java.lang.String toString()
toString
in class java.lang.Object
public int[] search(weka.attributeSelection.ASEvaluation ASEval, weka.core.Instances data) throws java.lang.Exception
search
in class weka.attributeSelection.ASSearch
ASEval
- the attribute evaluator to guide the searchdata
- the training instances.java.lang.Exception
- if the search can't be completedpublic java.lang.String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class weka.attributeSelection.ASSearch