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 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.1 $
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
-
AttributeSummaryPanel()
- Creates the instances panel with no initial instances.
-
main(String[])
- Tests out the attribute summary panel from the command line.
-
setAttribute(int)
- Sets the attribute that statistics will be displayed for.
-
setInstances(Instances)
- Tells the panel to use a new set of instances.
AttributeSummaryPanel
public AttributeSummaryPanel()
- Creates the instances panel with no initial instances.
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
All Packages Class Hierarchy This Package Previous Next Index WEKA's home