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

Class weka.gui.explorer.AttributeSelectionPanel

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

public class AttributeSelectionPanel
extends JPanel
This panel allows the user to select and configure an attribute evaluator and a search method, set the attribute of the current dataset to be used as the class, and perform attribute selection using one of two selection modes (select using all the training data or perform a n-fold cross validation---on each trial selecting features using n-1 folds of the data). The results of attribute selection runs are stored in a results history so that previous results are accessible.

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

Constructor Index

 o AttributeSelectionPanel()
Creates the classifier panel

Method Index

 o main(String[])
Tests out the attribute selection 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

Constructors

 o AttributeSelectionPanel
 public AttributeSelectionPanel()
Creates the classifier panel

Methods

 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 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 attribute selection 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