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

Class weka.gui.explorer.ClustererPanel

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

public class ClustererPanel
extends JPanel
This panel allows the user to select and configure a clusterer, and evaluate the clusterer using a number of testing modes (test on the training data, train/test on a percentage split, test on a separate split). The results of clustering runs are stored in a result history so that previous results are accessible.

Version:
$Revision: 1.9 $
Author:
Mark Hall (mhall@cs.waikato.ac.nz)

Constructor Index

 o ClustererPanel()
Creates the clusterer panel

Method Index

 o main(String[])
Tests out the clusterer panel from the command line.
 o setInstances(Instances)
Tells the panel to use a new set of instances.
 o setLog(Logger)
Sets the Logger to receive informational messages
 o setPreprocess(PreprocessPanel)
Sets the preprocess panel through which user selected filters can be applied to any supplied test data
 o setXY_VisualizeIndexes(int, int)
Set the default attributes to use on the x and y axis of a new visualization object.

Constructors

 o ClustererPanel
 public ClustererPanel()
Creates the clusterer panel

Methods

 o setPreprocess
 public void setPreprocess(PreprocessPanel p)
Sets the preprocess panel through which user selected filters can be applied to any supplied test data

Parameters:
p - the preprocess panel to use
 o setLog
 public void setLog(Logger newLog)
Sets the Logger to receive informational messages

Parameters:
newLog - the Logger that will now get info messages
 o setXY_VisualizeIndexes
 public void setXY_VisualizeIndexes(int x,
                                    int y)
Set the default attributes to use on the x and y axis of a new visualization object.

Parameters:
x - the index of the attribute to use on the x axis
y - the index of the attribute to use on the y axis
 o setInstances
 public void setInstances(Instances inst)
Tells the panel to use a new set of instances.

Parameters:
inst - a set of Instances
 o main
 public static void main(String args[])
Tests out the clusterer panel from the command line.

Parameters:
args - may optionally contain the name of a dataset to load.

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