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 javax.swing.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.30 $
- Author:
- Mark Hall (mhall@cs.waikato.ac.nz)
ClustererPanel()
- Creates the clusterer panel
main(String[])
- Tests out the clusterer panel from the command line.
setInstances(Instances)
- Tells the panel to use a new set of instances.
setLog(Logger)
- Sets the Logger to receive informational messages
setPreprocess(PreprocessPanel)
- Sets the preprocess panel through which user selected
filters can be applied to any supplied test data
setXY_VisualizeIndexes(int, int)
- Set the default attributes to use on the x and y axis
of a new visualization object.
ClustererPanel
public ClustererPanel()
Creates the clusterer panel
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
setLog
public void setLog(Logger newLog)
Sets the Logger to receive informational messages
- Parameters:
newLog
- the Logger that will now get info messages
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
setInstances
public void setInstances(Instances inst)
Tells the panel to use a new set of instances.
- Parameters:
inst
- a set of Instances
main
public static void main(java.lang.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