|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.attributeSelection.ASSearch
weka.attributeSelection.ExhaustiveSearch
public class ExhaustiveSearch
ExhaustiveSearch :
Performs an exhaustive search through the space of attribute subsets starting from the empty set of attrubutes. Reports the best subset found.
-V Output subsets as the search progresses. (default = false).
| Constructor Summary | |
|---|---|
ExhaustiveSearch()
Constructor |
|
| Method Summary | |
|---|---|
String[] |
getOptions()
Gets the current settings of RandomSearch. |
String |
getRevision()
Returns the revision string. |
boolean |
getVerbose()
get whether or not output is verbose |
String |
globalInfo()
Returns a string describing this search method |
Enumeration |
listOptions()
Returns an enumeration describing the available options. |
int[] |
search(ASEvaluation ASEval,
Instances data)
Searches the attribute subset space using an exhaustive search. |
void |
setOptions(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 |
String |
toString()
prints a description of the search |
String |
verboseTipText()
Returns the tip text for this property |
| Methods inherited from class weka.attributeSelection.ASSearch |
|---|
forName, makeCopies |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExhaustiveSearch()
| Method Detail |
|---|
public String globalInfo()
public Enumeration listOptions()
listOptions in interface OptionHandler
public void setOptions(String[] options)
throws Exception
-V Output subsets as the search progresses. (default = false).
setOptions in interface OptionHandleroptions - the list of options as an array of strings
Exception - if an option is not supportedpublic String verboseTipText()
public void setVerbose(boolean v)
v - true if output is to be verbosepublic boolean getVerbose()
public String[] getOptions()
getOptions in interface OptionHandlerpublic String toString()
toString in class Object
public int[] search(ASEvaluation ASEval,
Instances data)
throws Exception
search in class ASSearchASEval - the attribute evaluator to guide the searchdata - the training instances.
Exception - if the search can't be completedpublic String getRevision()
getRevision in interface RevisionHandlergetRevision in class ASSearch
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||