类 ClassificationGenerator

java.lang.Object
weka.datagenerators.DataGenerator
weka.datagenerators.ClassificationGenerator
所有已实现的接口:
Serializable, OptionHandler, Randomizable, RevisionHandler
直接已知子类:
Agrawal, BayesNet, LED24, RandomRBF, RDG1

public abstract class ClassificationGenerator extends DataGenerator
Abstract class for data generators for classifiers.

版本:
$Revision: 1.4 $
作者:
Gabi Schmidberger (gabi@cs.waikato.ac.nz), FracPete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 构造器详细资料

    • ClassificationGenerator

      public ClassificationGenerator()
      initializes with default values
  • 方法详细资料

    • listOptions

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

      public void setOptions(String[] options) throws Exception
      Sets the options.
      指定者:
      setOptions 在接口中 OptionHandler
      覆盖:
      setOptions 在类中 DataGenerator
      参数:
      options - the options
      抛出:
      Exception - if invalid option
    • getOptions

      public String[] getOptions()
      Gets the current settings of the classifier.
      指定者:
      getOptions 在接口中 OptionHandler
      覆盖:
      getOptions 在类中 DataGenerator
      返回:
      an array of strings suitable for passing to setOptions
      另请参阅:
      • DataGenerator.removeBlacklist(String[])
    • setNumExamples

      public void setNumExamples(int numExamples)
      Sets the number of examples, given by option.
      参数:
      numExamples - the new number of examples
    • getNumExamples

      public int getNumExamples()
      Gets the number of examples, given by option.
      返回:
      the number of examples, given by option
    • numExamplesTipText

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