程序包 weka.gui.beans

类 PredictionAppender

所有已实现的接口:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, BatchClassifierListener, BatchClustererListener, BeanCommon, DataSource, EventConstraints, IncrementalClassifierListener, TestSetProducer, TrainingSetProducer, Visible

Bean that can can accept batch or incremental classifier events and produce dataset or instance events which contain instances with predictions appended.
版本:
$Revision: 7059 $
作者:
Mark Hall
另请参阅:
  • 构造器详细资料

    • PredictionAppender

      public PredictionAppender()
      Creates a new PredictionAppender instance.
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Global description of this bean
      返回:
      a String value
    • 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)
    • appendPredictedProbabilitiesTipText

      public String appendPredictedProbabilitiesTipText()
      Return a tip text suitable for displaying in a GUI
      返回:
      a String value
    • getAppendPredictedProbabilities

      public boolean getAppendPredictedProbabilities()
      Return true if predicted probabilities are to be appended rather than class value
      返回:
      a boolean value
    • setAppendPredictedProbabilities

      public void setAppendPredictedProbabilities(boolean ap)
      Set whether to append predicted probabilities rather than class value (for discrete class data sets)
      参数:
      ap - a boolean value
    • addTrainingSetListener

      public void addTrainingSetListener(TrainingSetListener tsl)
      Add a training set listener
      指定者:
      addTrainingSetListener 在接口中 TrainingSetProducer
      参数:
      tsl - a TrainingSetListener value
    • removeTrainingSetListener

      public void removeTrainingSetListener(TrainingSetListener tsl)
      Remove a training set listener
      指定者:
      removeTrainingSetListener 在接口中 TrainingSetProducer
      参数:
      tsl - a TrainingSetListener value
    • addTestSetListener

      public void addTestSetListener(TestSetListener tsl)
      Add a test set listener
      指定者:
      addTestSetListener 在接口中 TestSetProducer
      参数:
      tsl - a TestSetListener value
    • removeTestSetListener

      public void removeTestSetListener(TestSetListener tsl)
      Remove a test set listener
      指定者:
      removeTestSetListener 在接口中 TestSetProducer
      参数:
      tsl - a TestSetListener value
    • addDataSourceListener

      public void addDataSourceListener(DataSourceListener dsl)
      Add a datasource listener
      指定者:
      addDataSourceListener 在接口中 DataSource
      参数:
      dsl - a DataSourceListener value
    • removeDataSourceListener

      public void removeDataSourceListener(DataSourceListener dsl)
      Remove a datasource listener
      指定者:
      removeDataSourceListener 在接口中 DataSource
      参数:
      dsl - a DataSourceListener value
    • addInstanceListener

      public void addInstanceListener(InstanceListener dsl)
      Add an instance listener
      指定者:
      addInstanceListener 在接口中 DataSource
      参数:
      dsl - a InstanceListener value
    • removeInstanceListener

      public void removeInstanceListener(InstanceListener dsl)
      Remove an instance listener
      指定者:
      removeInstanceListener 在接口中 DataSource
      参数:
      dsl - a InstanceListener value
    • setVisual

      public void setVisual(BeanVisual newVisual)
      Set the visual for this data source
      指定者:
      setVisual 在接口中 Visible
      参数:
      newVisual - a BeanVisual value
    • getVisual

      public BeanVisual getVisual()
      Get the visual being used by this data source.
      指定者:
      getVisual 在接口中 Visible
      返回:
      a BeanVisual value
    • useDefaultVisual

      public void useDefaultVisual()
      Use the default images for a data source
      指定者:
      useDefaultVisual 在接口中 Visible
    • acceptClassifier

      public void acceptClassifier(IncrementalClassifierEvent e)
      Accept and process an incremental classifier event
      指定者:
      acceptClassifier 在接口中 IncrementalClassifierListener
      参数:
      e - an IncrementalClassifierEvent value
    • acceptClassifier

      public void acceptClassifier(BatchClassifierEvent e)
      Accept and process a batch classifier event
      指定者:
      acceptClassifier 在接口中 BatchClassifierListener
      参数:
      e - a BatchClassifierEvent value
    • acceptClusterer

      public void acceptClusterer(BatchClustererEvent e)
      Accept and process a batch clusterer event
      指定者:
      acceptClusterer 在接口中 BatchClustererListener
      参数:
      e - a BatchClassifierEvent value
    • setLog

      public void setLog(Logger logger)
      Set a logger
      指定者:
      setLog 在接口中 BeanCommon
      参数:
      logger - a weka.gui.Logger value
    • stop

      public void stop()
      从接口复制的说明: BeanCommon
      Stop any processing that the bean might be doing.
      指定者:
      stop 在接口中 BeanCommon
    • 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.
    • connectionAllowed

      public boolean connectionAllowed(String eventName)
      Returns true if, at this time, the object will accept a connection according to the supplied event name
      指定者:
      connectionAllowed 在接口中 BeanCommon
      参数:
      eventName - the event
      返回:
      true if the object will accept a connection
    • connectionAllowed

      public boolean connectionAllowed(EventSetDescriptor esd)
      Returns true if, at this time, the object will accept a connection according to the supplied EventSetDescriptor
      指定者:
      connectionAllowed 在接口中 BeanCommon
      参数:
      esd - the EventSetDescriptor
      返回:
      true if the object will accept a connection
    • connectionNotification

      public void connectionNotification(String eventName, Object source)
      Notify this object that it has been registered as a listener with a source with respect to the supplied event name
      指定者:
      connectionNotification 在接口中 BeanCommon
      参数:
      eventName -
      source - the source with which this object has been registered as a listener
    • disconnectionNotification

      public void disconnectionNotification(String eventName, Object source)
      Notify this object that it has been deregistered as a listener with a source with respect to the supplied event name
      指定者:
      disconnectionNotification 在接口中 BeanCommon
      参数:
      eventName - the event name
      source - the source with which this object has been registered as a listener
    • eventGeneratable

      public boolean eventGeneratable(String eventName)
      Returns true, if at the current time, the named event could be generated. Assumes that supplied event names are names of events 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