程序包 weka.clusterers

类 RandomizableClusterer

java.lang.Object
weka.clusterers.AbstractClusterer
weka.clusterers.RandomizableClusterer
所有已实现的接口:
Serializable, Cloneable, Clusterer, CapabilitiesHandler, OptionHandler, Randomizable, RevisionHandler
直接已知子类:
Cobweb, FarthestFirst, sIB, SimpleKMeans, XMeans

public abstract class RandomizableClusterer extends AbstractClusterer implements OptionHandler, Randomizable
Abstract utility class for handling settings common to randomizable clusterers.
版本:
$Revision: 1.3 $
作者:
FracPete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 构造器详细资料

    • RandomizableClusterer

      public RandomizableClusterer()
  • 方法详细资料

    • 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:

      指定者:
      setOptions 在接口中 OptionHandler
      参数:
      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
      返回:
      an array of strings suitable for passing to setOptions
    • seedTipText

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

      public void setSeed(int value)
      Set the seed for random number generation.
      指定者:
      setSeed 在接口中 Randomizable
      参数:
      value - the seed to use
    • getSeed

      public int getSeed()
      Gets the seed for the random number generations
      指定者:
      getSeed 在接口中 Randomizable
      返回:
      the seed for the random number generation