程序包 weka.classifiers

类 MultipleClassifiersCombiner

java.lang.Object
weka.classifiers.Classifier
weka.classifiers.MultipleClassifiersCombiner
所有已实现的接口:
Serializable, Cloneable, CapabilitiesHandler, OptionHandler, RevisionHandler
直接已知子类:
RandomizableMultipleClassifiersCombiner

public abstract class MultipleClassifiersCombiner extends Classifier
Abstract utility class for handling settings common to meta classifiers that build an ensemble from multiple classifiers.
版本:
$Revision: 5905 $
作者:
Eibe Frank (eibe@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

    • MultipleClassifiersCombiner

      public MultipleClassifiersCombiner()
  • 方法详细资料

    • listOptions

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

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

      -B classifierstring
      Classifierstring should contain the full class name of a scheme included for selection followed by options to the classifier (required, option should be used once for each classifier).

      指定者:
      setOptions 在接口中 OptionHandler
      覆盖:
      setOptions 在类中 Classifier
      参数:
      options - the list of options as an array of strings
      抛出:
      Exception - if an option is not supported
    • getOptions

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

      public String classifiersTipText()
      Returns the tip text for this property
      返回:
      tip text for this property suitable for displaying in the explorer/experimenter gui
    • setClassifiers

      public void setClassifiers(Classifier[] classifiers)
      Sets the list of possible classifers to choose from.
      参数:
      classifiers - an array of classifiers with all options set.
    • getClassifiers

      public Classifier[] getClassifiers()
      Gets the list of possible classifers to choose from.
      返回:
      the array of Classifiers
    • getClassifier

      public Classifier getClassifier(int index)
      Gets a single classifier from the set of available classifiers.
      参数:
      index - the index of the classifier wanted
      返回:
      the Classifier
    • getCapabilities

      public Capabilities getCapabilities()
      Returns combined capabilities of the base classifiers, i.e., the capabilities all of them have in common.
      指定者:
      getCapabilities 在接口中 CapabilitiesHandler
      覆盖:
      getCapabilities 在类中 Classifier
      返回:
      the capabilities of the base classifiers
      另请参阅: