程序包 weka.gui.beans

类 IncrementalClassifierEvent

java.lang.Object
java.util.EventObject
weka.gui.beans.IncrementalClassifierEvent
所有已实现的接口:
Serializable

public class IncrementalClassifierEvent extends EventObject
Class encapsulating an incrementally built classifier and current instance
从以下版本开始:
1.0
版本:
$Revision: 1.9 $
作者:
Mark Hall
另请参阅:
  • 字段详细资料

    • NEW_BATCH

      public static final int NEW_BATCH
      另请参阅:
    • WITHIN_BATCH

      public static final int WITHIN_BATCH
      另请参阅:
    • BATCH_FINISHED

      public static final int BATCH_FINISHED
      另请参阅:
  • 构造器详细资料

    • IncrementalClassifierEvent

      public IncrementalClassifierEvent(Object source, Classifier scheme, Instance currentI, int status)
      Creates a new IncrementalClassifierEvent instance.
      参数:
      source - the source of the event
      scheme - the classifier
      currentI - the current instance
      status - the status
    • IncrementalClassifierEvent

      public IncrementalClassifierEvent(Object source, Classifier scheme, Instances structure)
      Creates a new incremental classifier event that encapsulates header information and classifier.
      参数:
      source - an Object value
      scheme - a Classifier value
      structure - an Instances value
    • IncrementalClassifierEvent

      public IncrementalClassifierEvent(Object source)
  • 方法详细资料

    • getClassifier

      public Classifier getClassifier()
      Get the classifier
      返回:
      the classifier
    • setClassifier

      public void setClassifier(Classifier c)
    • getCurrentInstance

      public Instance getCurrentInstance()
      Get the current instance
      返回:
      the current instance
    • setCurrentInstance

      public void setCurrentInstance(Instance i)
      Set the current instance for this event
      参数:
      i - an Instance value
    • getStatus

      public int getStatus()
      Get the status
      返回:
      an int value
    • setStatus

      public void setStatus(int s)
      Set the status
      参数:
      s - an int value
    • setStructure

      public void setStructure(Instances structure)
      Set the instances structure
      参数:
      structure - an Instances value
    • getStructure

      public Instances getStructure()
      Get the instances structure (may be null if this is not a NEW_BATCH event)
      返回:
      an Instances value