Package weka.gui

Class AttributeSummaryPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class AttributeSummaryPanel extends JPanel
This panel displays summary statistics about an attribute: name, type number/% of missing/unique values, number of distinct values. For numeric attributes gives some other stats (mean/std dev), for nominal attributes gives counts for each attribute value.
Version:
$Revision: 15755 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)
See Also:
  • Constructor Details

    • AttributeSummaryPanel

      public AttributeSummaryPanel()
      Creates the instances panel with no initial instances.
  • Method Details

    • setInstances

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

      public void setAttribute(int index)
      Sets the attribute that statistics will be displayed for.
      Parameters:
      index - the index of the attribute to display
    • main

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