All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.gui.AttributeSummaryPanel

java.lang.Object
    |
    +----java.awt.Component
            |
            +----java.awt.Container
                    |
                    +----javax.swing.JComponent
                            |
                            +----javax.swing.JPanel
                                    |
                                    +----weka.gui.AttributeSummaryPanel

public class AttributeSummaryPanel
extends javax.swing.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: 1.5 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)

Constructor Index

 o AttributeSummaryPanel()
Creates the instances panel with no initial instances.

Method Index

 o main(String[])
Tests out the attribute summary panel from the command line.
 o setAttribute(int)
Sets the attribute that statistics will be displayed for.
 o setInstances(Instances)
Tells the panel to use a new set of instances.

Constructor Detail

 o AttributeSummaryPanel
public AttributeSummaryPanel()
          Creates the instances panel with no initial instances.

Method Detail

 o setInstances
public void setInstances(Instances inst)
          Tells the panel to use a new set of instances.
Parameters:
inst - a set of Instances
 o setAttribute
public void setAttribute(int index)
          Sets the attribute that statistics will be displayed for.
Parameters:
index - the index of the attribute to display
 o main
public static void main(java.lang.String args[])
          Tests out the attribute summary panel from the command line.
Parameters:
args - optional name of dataset to load

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home