|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
weka.gui.explorer.ClustererPanel
public class ClustererPanel
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.BaselineResizeBehavior |
Field Summary | |
---|---|
static String |
MODEL_FILE_EXTENSION
The filename extension that should be used for model files |
Fields inherited from class javax.swing.JComponent |
---|
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ClustererPanel()
Creates the clusterer panel |
Method Summary | |
---|---|
void |
capabilitiesFilterChanged(Explorer.CapabilitiesFilterChangeEvent e)
method gets called in case of a change event |
Explorer |
getExplorer()
returns the parent Explorer frame |
String |
getTabTitle()
Returns the title for the tab in the Explorer |
String |
getTabTitleToolTip()
Returns the tooltip for the tab in the Explorer |
static void |
main(String[] args)
Tests out the clusterer panel from the command line. |
void |
setExplorer(Explorer parent)
Sets the Explorer to use as parent frame (used for sending notifications about changes in the data) |
void |
setInstances(Instances inst)
Tells the panel to use a new set of instances. |
void |
setLog(Logger newLog)
Sets the Logger to receive informational messages |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static String MODEL_FILE_EXTENSION
Constructor Detail |
---|
public ClustererPanel()
Method Detail |
---|
public void setLog(Logger newLog)
setLog
in interface Explorer.LogHandler
newLog
- the Logger that will now get info messagespublic void setInstances(Instances inst)
setInstances
in interface Explorer.ExplorerPanel
inst
- a set of Instancespublic void capabilitiesFilterChanged(Explorer.CapabilitiesFilterChangeEvent e)
capabilitiesFilterChanged
in interface Explorer.CapabilitiesFilterChangeListener
e
- the associated change eventpublic void setExplorer(Explorer parent)
setExplorer
in interface Explorer.ExplorerPanel
parent
- the parent framepublic Explorer getExplorer()
getExplorer
in interface Explorer.ExplorerPanel
public String getTabTitle()
getTabTitle
in interface Explorer.ExplorerPanel
public String getTabTitleToolTip()
getTabTitleToolTip
in interface Explorer.ExplorerPanel
public static void main(String[] args)
args
- may optionally contain the name of a dataset to load.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |