类 ExhaustiveSearch

java.lang.Object
weka.attributeSelection.ASSearch
weka.attributeSelection.ExhaustiveSearch
所有已实现的接口:
Serializable, OptionHandler, RevisionHandler

public class ExhaustiveSearch extends ASSearch implements OptionHandler
ExhaustiveSearch :

Performs an exhaustive search through the space of attribute subsets starting from the empty set of attrubutes. Reports the best subset found.

Valid options are:

 -V
  Output subsets as the search progresses.
  (default = false).
版本:
$Revision: 1.15 $
作者:
Mark Hall (mhall@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

    • ExhaustiveSearch

      public ExhaustiveSearch()
      Constructor
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Returns a string describing this search method
      返回:
      a description of the search suitable for displaying in the explorer/experimenter gui
    • listOptions

      public Enumeration listOptions()
      Returns an enumeration describing the available options.
      指定者:
      listOptions 在接口中 OptionHandler
      返回:
      an enumeration of all the available options.
    • setOptions

      public void setOptions(String[] options) throws Exception
      Parses a given list of options.

      Valid options are:

       -V
        Output subsets as the search progresses.
        (default = false).
      指定者:
      setOptions 在接口中 OptionHandler
      参数:
      options - the list of options as an array of strings
      抛出:
      Exception - if an option is not supported
    • verboseTipText

      public String verboseTipText()
      Returns the tip text for this property
      返回:
      tip text for this property suitable for displaying in the explorer/experimenter gui
    • 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
      返回:
      true if output is set to verbose
    • getOptions

      public String[] getOptions()
      Gets the current settings of RandomSearch.
      指定者:
      getOptions 在接口中 OptionHandler
      返回:
      an array of strings suitable for passing to setOptions()
    • toString

      public String toString()
      prints a description of the search
      覆盖:
      toString 在类中 Object
      返回:
      a description of the search as a string
    • search

      public int[] search(ASEvaluation ASEval, Instances data) throws Exception
      Searches the attribute subset space using an exhaustive search.
      指定者:
      search 在类中 ASSearch
      参数:
      ASEval - the attribute evaluator to guide the search
      data - the training instances.
      返回:
      an array (not necessarily ordered) of selected attribute indexes
      抛出:
      Exception - if the search can't be completed
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      覆盖:
      getRevision 在类中 ASSearch
      返回:
      the revision