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

Class weka.gui.visualize.MatrixPanel

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

public class MatrixPanel
extends javax.swing.JPanel
This panel displays a plot matrix of the user selected attributes of a given data set. The datapoints are coloured using a discrete colouring set if the user has selected a nominal attribute for colouring. If the user has selected a numeric attribute then the datapoints are coloured using a colour spectrum ranging from blue to red (low values to high). Datapoints missing a class value are displayed in black.

Version:
$Revision: 1.5 $
Author:
Ashraf M. Kibriya (amk14@cs.waikato.ac.nz)

Constructor Index

 o MatrixPanel()
Constructor

Method Index

 o initInternalFields()
Initializes internal data fields, i.e.
 o main(String[])
Main method for testing this class
 o setInstances(Instances)
This method changes the Instances object of this class to a new one.
 o setPercent()
Calculates the percentage to resample
 o setupAttribLists()
Sets up the UI's attributes lists

Constructor Detail

 o MatrixPanel
public MatrixPanel()
          Constructor
Parameters:
ins - The instances object for the matrix

Method Detail

 o initInternalFields
public void initInternalFields()
          Initializes internal data fields, i.e. data values, type, missing and color cache arrays
 o setupAttribLists
public void setupAttribLists()
          Sets up the UI's attributes lists
 o setPercent
public void setPercent()
          Calculates the percentage to resample
 o setInstances
public void setInstances(Instances newInst)
          This method changes the Instances object of this class to a new one. It also does all the necessary initializations for displaying the panel. This must be called before trying to display the panel.
Parameters:
newInst - The new set of Instances
 o main
public static void main(java.lang.String args[])
          Main method for testing this class

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