All Packages Class Hierarchy This Package Previous Next Index WEKA's home
java.lang.Object | +----weka.attributeSelection.ASSearch | +----weka.attributeSelection.ExhaustiveSearch
Valid options are:
-P
-V
-P
-V
Specify a starting set of attributes. Eg 1,4,7-9.
Verbose output. Output new best subsets as the search progresses.
ExhaustiveSearch()
getOptions()
getStartSet()
getVerbose()
globalInfo()
listOptions()
search(ASEvaluation, Instances)
setOptions(String[])
setStartSet(String)
setVerbose(boolean)
startSetTipText()
toString()
verboseTipText()
ExhaustiveSearch
public ExhaustiveSearch()
Constructor
globalInfo
public java.lang.String globalInfo()
Returns a string describing this search method
listOptions
public java.util.Enumeration listOptions()
Returns an enumeration describing the available options
setOptions
public void setOptions(java.lang.String options[]) throws java.lang.Exception
Parses a given list of options.
Valid options are:
Specify a starting set of attributes. Eg 1,4,7-9.
Verbose output. Output new best subsets as the search progresses.
options
- the list of options as an array of strings
startSetTipText
public java.lang.String startSetTipText()
Returns the tip text for this property
setStartSet
public void setStartSet(java.lang.String startSet) throws java.lang.Exception
Sets a starting set of attributes for the search. It is the
search method's responsibility to report this start set (if any)
in its toString() method.
startSet
- a string containing a list of attributes (and or ranges),
eg. 1,2,6,10-15. "" indicates no start set.
If a start point is supplied, Exhaustive search stops after finding
the smallest possible subset with merit as good as or better than the
start set. Otherwise, the search space is explored FULLY, and the
best subset returned.
getStartSet
public java.lang.String getStartSet()
Returns a list of attributes (and or attribute ranges) as a String
verboseTipText
public java.lang.String verboseTipText()
Returns the tip text for this property
setVerbose
public void setVerbose(boolean v)
set whether or not to output new best subsets as the search proceeds
v
- true if output is to be verbose
getVerbose
public boolean getVerbose()
get whether or not output is verbose
getOptions
public java.lang.String[] getOptions()
Gets the current settings of RandomSearch.
toString
public java.lang.String toString()
prints a description of the search
search
public int[] search(ASEvaluation ASEval,
Instances data) throws java.lang.Exception
Searches the attribute subset space using an exhaustive search.
All Packages Class Hierarchy This Package Previous Next Index WEKA's home