程序包 weka.gui

类 InstancesSummaryPanel

所有已实现的接口:
ImageObserver, MenuContainer, Serializable, Accessible

public class InstancesSummaryPanel extends JPanel
This panel just displays relation name, number of instances, and number of attributes.
版本:
$Revision: 9349 $
作者:
Len Trigg (trigg@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

    • InstancesSummaryPanel

      public InstancesSummaryPanel()
      Creates the instances panel with no initial instances.
  • 方法详细资料

    • setShowZeroInstancesAsUnknown

      public void setShowZeroInstancesAsUnknown(boolean zeroAsUnknown)
      Set whether to show zero instances as unknown (i.e. "?" rather than zero). This is useful if header information has been read and the instances themselves will be loaded incrementally.
      参数:
      zeroAsUnknown - true if zero instances will be displayed as "unknown", i.e. "?"
    • getShowZeroInstancesAsUnknown

      public boolean getShowZeroInstancesAsUnknown()
      Get whether to show zero instances as unknown (i.e. "?" rather than zero). This is useful if header information has been read and the instances themselves will be loaded incrementally.
      返回:
      true if zero instances will be displayed as "unknown", i.e. "?"
    • setInstances

      public void setInstances(Instances inst)
      Tells the panel to use a new set of instances.
      参数:
      inst - a set of Instances
    • main

      public static void main(String[] args)
      Tests out the instance summary panel from the command line.
      参数:
      args - optional name of dataset to load