程序包 weka.gui.beans

类 CrossValidationFoldMaker

所有已实现的接口:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, BeanCommon, DataSourceListener, EventConstraints, TestSetListener, TestSetProducer, TrainingSetListener, TrainingSetProducer, UserRequestAcceptor, Visible

Bean for splitting instances into training ant test sets according to a cross validation
版本:
$Revision: 7059 $
作者:
Mark Hall
另请参阅:
  • 构造器详细资料

    • CrossValidationFoldMaker

      public CrossValidationFoldMaker()
  • 方法详细资料

    • setCustomName

      public void setCustomName(String name)
      Set a custom (descriptive) name for this bean
      指定者:
      setCustomName 在接口中 BeanCommon
      参数:
      name - the name to use
    • getCustomName

      public String getCustomName()
      Get the custom (descriptive) name for this bean (if one has been set)
      指定者:
      getCustomName 在接口中 BeanCommon
      返回:
      the custom name (or the default name)
    • globalInfo

      public String globalInfo()
      Global info for this bean
      返回:
      a String value
    • acceptTrainingSet

      public void acceptTrainingSet(TrainingSetEvent e)
      Accept a training set
      指定者:
      acceptTrainingSet 在接口中 TrainingSetListener
      参数:
      e - a TrainingSetEvent value
    • acceptTestSet

      public void acceptTestSet(TestSetEvent e)
      Accept a test set
      指定者:
      acceptTestSet 在接口中 TestSetListener
      参数:
      e - a TestSetEvent value
    • acceptDataSet

      public void acceptDataSet(DataSetEvent e)
      Accept a data set
      指定者:
      acceptDataSet 在接口中 DataSourceListener
      指定者:
      acceptDataSet 在类中 AbstractTrainAndTestSetProducer
      参数:
      e - a DataSetEvent value
    • setFolds

      public void setFolds(int numFolds)
      Set the number of folds for the cross validation
      参数:
      numFolds - an int value
    • getFolds

      public int getFolds()
      Get the currently set number of folds
      返回:
      an int value
    • foldsTipText

      public String foldsTipText()
      Tip text for this property
      返回:
      a String value
    • setSeed

      public void setSeed(int randomSeed)
      Set the seed
      参数:
      randomSeed - an int value
    • getSeed

      public int getSeed()
      Get the currently set seed
      返回:
      an int value
    • seedTipText

      public String seedTipText()
      Tip text for this property
      返回:
      a String value
    • isBusy

      public boolean isBusy()
      Returns true if. at this time, the bean is busy with some (i.e. perhaps a worker thread is performing some calculation).
      指定者:
      isBusy 在接口中 BeanCommon
      返回:
      true if the bean is busy.
    • stop

      public void stop()
      Stop any action
      指定者:
      stop 在接口中 BeanCommon
      指定者:
      stop 在类中 AbstractTrainAndTestSetProducer
    • enumerateRequests

      public Enumeration enumerateRequests()
      Return an enumeration of user requests
      指定者:
      enumerateRequests 在接口中 UserRequestAcceptor
      返回:
      an Enumeration value
    • performRequest

      public void performRequest(String request)
      Perform the named request
      指定者:
      performRequest 在接口中 UserRequestAcceptor
      参数:
      request - a String value
      抛出:
      IllegalArgumentException - if an error occurs
    • eventGeneratable

      public boolean eventGeneratable(String eventName)
      Returns true, if at the current time, the named event could be generated. Assumes that the supplied event name is an event that could be generated by this bean
      指定者:
      eventGeneratable 在接口中 EventConstraints
      参数:
      eventName - the name of the event in question
      返回:
      true if the named event could be generated at this point in time