@PerspectiveInfo(ID="weka.gui.explorer.classifierpanel", title="Classify", toolTipText="Classify instances", iconPath="weka/gui/weka_icon_new_small.png") public class ClassifierPanel extends AbstractPerspective implements Explorer.CapabilitiesFilterChangeListener, Explorer.ExplorerPanel, Explorer.LogHandler
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ClassifierPanel.ClassifierPanelDefaults
Default settings for the classifier panel
|
static class |
ClassifierPanel.TestMode |
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected PropertyPanel |
m_CEPanel
The panel showing the current classifier selection.
|
protected javax.swing.JComboBox |
m_ClassCombo
Lets the user select the class column.
|
protected GenericObjectEditor |
m_ClassificationOutputEditor
Lets the user configure the ClassificationOutput.
|
protected PropertyPanel |
m_ClassificationOutputPanel
ClassificationOutput configuration.
|
protected GenericObjectEditor |
m_ClassifierEditor
Lets the user configure the classifier.
|
protected CostMatrixEditor |
m_CostMatrixEditor
The cost matrix editor for evaluation costs.
|
protected VisualizePanel |
m_CurrentVis
The current visualization object.
|
protected javax.swing.JRadioButton |
m_CVBut
Click to set test mode to cross-validation.
|
protected javax.swing.JLabel |
m_CVLab
Label by where the cv folds are entered.
|
protected javax.swing.JTextField |
m_CVText
The field where the cv folds are entered.
|
protected javax.swing.JCheckBox |
m_errorPlotPointSizeProportionalToMargin
Check to have the point size in error plots proportional to the prediction
margin (classification only)
|
protected javax.swing.JCheckBox |
m_EvalWRTCostsBut
Check to evaluate w.r.t a cost matrix.
|
protected Explorer |
m_Explorer
the parent frame.
|
protected javax.swing.JFileChooser |
m_FileChooser
The file chooser for selecting model files.
|
protected ResultHistoryPanel |
m_History
A panel controlling results viewing.
|
protected boolean |
m_initialSettingsSet
Whether start-up settings have been applied (i.e. initial classifier to
use)
|
protected Instances |
m_Instances
The main set of instances we're playing with.
|
protected Logger |
m_Log
The destination for log/status messages.
|
protected javax.swing.filechooser.FileFilter |
m_ModelFilter
Filter to ensure only model files are selected.
|
protected Range |
m_OutputAdditionalAttributesRange
the range of attributes to output.
|
protected javax.swing.JCheckBox |
m_OutputConfusionBut
Check to output a confusion matrix.
|
protected javax.swing.JCheckBox |
m_OutputEntropyBut
Check to output entropy statistics.
|
protected javax.swing.JCheckBox |
m_OutputModelBut
Check to output the model built from the training data.
|
protected javax.swing.JCheckBox |
m_OutputModelsForTrainingSplitsBut
Check to output the models built from the training splits.
|
protected javax.swing.JCheckBox |
m_OutputPerClassBut
Check to output true/false positives, precision/recall for each class.
|
protected javax.swing.JCheckBox |
m_OutputSourceCode
Whether to output the source code (only for classifiers importing
Sourcable).
|
protected javax.swing.JTextArea |
m_OutText
The output area for classification results.
|
protected javax.swing.JRadioButton |
m_PercentBut
Click to set test mode to generate a % split.
|
protected javax.swing.JLabel |
m_PercentLab
Label by where the % split is entered.
|
protected javax.swing.JTextField |
m_PercentText
The field where the % split is entered.
|
protected javax.swing.filechooser.FileFilter |
m_PMMLModelFilter |
protected javax.swing.JCheckBox |
m_PreserveOrderBut
Whether randomization is turned off to preserve order.
|
protected javax.swing.JLabel |
m_RandomLab
the label for the random seed textfield.
|
protected javax.swing.JTextField |
m_RandomSeedText
User specified random seed for cross validation or % split.
|
protected java.lang.Thread |
m_RunThread
A thread that classification runs in.
|
protected java.util.List<java.lang.String> |
m_selectedEvalMetrics
The user's list of selected evaluation metrics
|
protected javax.swing.JButton |
m_SetCostsBut
for the cost matrix.
|
protected PropertyDialog |
m_SetCostsFrame
The frame used to show the cost matrix editing panel.
|
protected javax.swing.JButton |
m_SetTestBut
The button used to open a separate test dataset.
|
protected javax.swing.JFrame |
m_SetTestFrame
The frame used to show the test set selection panel.
|
protected javax.swing.JTextField |
m_SourceCodeClass
The name of the generated class (only applicable to Sourcable schemes).
|
protected javax.swing.JButton |
m_StartBut
Click to start running the classifier.
|
protected javax.swing.JButton |
m_StopBut
Click to stop a running classifier.
|
protected javax.swing.JCheckBox |
m_StorePredictionsBut
Check to save the predictions in the results list for visualizing later on.
|
protected int |
m_TestClassIndex
the class index for the supplied test set.
|
protected Loader |
m_TestLoader
The loader used to load the user-supplied test set (if any).
|
protected javax.swing.JRadioButton |
m_TestSplitBut
Click to set test mode to a user-specified test set.
|
protected javax.swing.JRadioButton |
m_TrainBut
Click to set test mode to test on training data.
|
static java.lang.String |
MODEL_FILE_EXTENSION
The filename extension that should be used for model files.
|
static java.lang.String |
PMML_FILE_EXTENSION
The filename extension that should be used for PMML xml files.
|
m_isActive, m_isLoaded, m_log, m_mainApplication, m_perspectiveIcon, m_perspectiveID, m_perspectiveTipText, m_perspectiveTitlelistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
ClassifierPanel()
Creates the classifier panel.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsInstances()
Returns true if this perspective can do something meaningful with a set of
instances
|
void |
capabilitiesFilterChanged(Explorer.CapabilitiesFilterChangeEvent e)
method gets called in case of a change event.
|
java.lang.Object |
getClassificationOutputFormatter()
Get the formatter for classifcation output
|
Classifier |
getClassifier()
Get the currently configured classifier from the GenericObjectEditor
|
CostMatrix |
getCostMatrix()
Get the cost matrix (if any)
|
VisualizePanel |
getCurrentVisualization()
Get the current visualization
|
Defaults |
getDefaultSettings()
Get the default settings for this perspective (or null if there are none)
|
Explorer |
getExplorer()
returns the parent Explorer frame.
|
Instances |
getInstances()
Get the current set of instances
|
Logger |
getLog()
Get the log
|
int |
getNumCVFolds()
Get the number of cross-validation folds to use
|
double |
getPercentageSplit()
Get the percentage to use for percentage split evaluation
|
int |
getRandomSeed()
Get the random seed
|
ResultHistoryPanel |
getResultHistory()
Get the result history panel
|
int |
getSelectedClassIndex()
Get the selected (0-based) class index
|
int |
getSeparateTestSetClassIndex()
Get the class index specified for the separate test set
|
Loader |
getSeparateTestSetLoader()
Get the loader object used for loading a separate test set
|
java.lang.String |
getSourceCodeClassName()
Gets the name of the source code class to be generated
|
java.lang.String |
getTabTitle()
Returns the title for the tab in the Explorer.
|
java.lang.String |
getTabTitleToolTip()
Returns the tooltip for the tab in the Explorer.
|
boolean |
isSelectedCV()
Gets whether cross-validation has been selected by the user
|
boolean |
isSelectedEvalWithRespectToCosts()
Gets whether evaluation with respect to costs has been selected by the user
|
boolean |
isSelectedOutputConfusion()
Gets whether the user has opted to output the confusion matrix
|
boolean |
isSelectedOutputEntropy()
Gets whether the user has opted to output entropy metrics
|
boolean |
isSelectedOutputModel()
Gets whether the user has opted to output the model
|
boolean |
isSelectedOutputModelsForTrainingSplits()
Gets whether the user has opted to output the models for the training splits
|
boolean |
isSelectedOutputPerClassStats()
Gets whether the user has opted to output per-class stats
|
boolean |
isSelectedOutputSourceCode()
Gets whether the user has opted to output source code
|
boolean |
isSelectedPercentageSplit()
Gets whether a percentage split has been selected by the user
|
boolean |
isSelectedPreserveOrder()
Gets whether the user has opted to preserve order of instances in a
percentage split
|
boolean |
isSelectedSeparateTestSet()
Gets whether a separate test set has been selected by the user
|
boolean |
isSelectedStorePredictions()
Gets whether the user has opted to store the predictions in the history
|
boolean |
isSelectedTestOnTrain()
Gets whether test on train has been selected by the user
|
protected void |
loadClassifier()
Loads a classifier.
|
static void |
main(java.lang.String[] args)
Tests out the classifier panel from the command line.
|
boolean |
okToBeActive()
Returns true if the perspective is usable at this time.
|
protected void |
printPredictionsHeader(java.lang.StringBuffer outBuff,
AbstractOutput classificationOutput,
java.lang.String title)
outputs the header for the predictions on the data.
|
protected void |
reevaluateModel(java.lang.String name,
Classifier classifier,
Instances trainHeader)
Re-evaluates the named classifier with the current test set.
|
boolean |
requiresLog()
Whether this perspective requires a graphical log to write to
|
protected void |
saveBuffer(java.lang.String name)
Save the currently selected classifier output to a file.
|
void |
saveClassifier(java.lang.String name,
Classifier classifier,
Instances trainHeader)
Saves the currently selected classifier.
|
void |
setActive(boolean active)
Set active status of this perspective.
|
void |
setCurrentVisualization(VisualizePanel current)
Set the current visualization
|
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.
|
protected void |
setTestSet()
Sets the user test set.
|
void |
settingsChanged()
Called when the user alters settings.
|
static Evaluation |
setupEval(Evaluation eval,
Classifier classifier,
Instances inst,
CostMatrix costMatrix,
ClassifierErrorsPlotInstances plotInstances,
AbstractOutput classificationOutput,
boolean onlySetPriors)
Configures an evaluation object with respect to a classifier, cost matrix,
output and plotting.
|
protected void |
startClassifier()
Starts running the currently configured classifier with the current
settings.
|
protected void |
stopClassifier()
Stops the currently running classifier (if any).
|
protected void |
updateCapabilitiesFilter(Capabilities filter)
updates the capabilities filter of the GOE.
|
protected void |
updateRadioLinks()
Updates the enabled status of the input fields and labels.
|
protected void |
visualize(java.util.List<java.lang.String> names,
int x,
int y)
Handles constructing a popup menu with visualization options.
|
protected void |
visualizeBayesNet(java.lang.String XMLBIF,
java.lang.String graphName)
Pops up a GraphVisualizer for the BayesNet classifier from the currently
selected item in the results list.
|
protected void |
visualizeClassifierErrors(VisualizePanel sp)
Pops up a VisualizePanel for visualizing the data and errors for the
classifier from the currently selected item in the results list.
|
protected void |
visualizeCostBenefitAnalysis(CostBenefitAnalysis cb,
java.lang.String classifierAndRelationName)
Pops up the Cost/Benefit analysis panel.
|
protected void |
visualizeTree(java.lang.String dottyString,
java.lang.String treeName)
Pops up a TreeVisualizer for the classifier from the currently selected
item in the results list.
|
getMainApplication, getMenus, getPerspectiveIcon, getPerspectiveID, getPerspectiveTipText, getPerspectiveTitle, instantiationComplete, setLoaded, setMainApplication, toStringgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycleprotected Explorer m_Explorer
public static java.lang.String MODEL_FILE_EXTENSION
public static java.lang.String PMML_FILE_EXTENSION
protected GenericObjectEditor m_ClassifierEditor
protected PropertyPanel m_CEPanel
protected javax.swing.JTextArea m_OutText
protected Logger m_Log
protected ResultHistoryPanel m_History
protected javax.swing.JComboBox m_ClassCombo
protected javax.swing.JRadioButton m_CVBut
protected javax.swing.JRadioButton m_PercentBut
protected javax.swing.JRadioButton m_TrainBut
protected javax.swing.JRadioButton m_TestSplitBut
protected javax.swing.JCheckBox m_StorePredictionsBut
protected javax.swing.JCheckBox m_errorPlotPointSizeProportionalToMargin
protected javax.swing.JCheckBox m_OutputModelBut
protected javax.swing.JCheckBox m_OutputModelsForTrainingSplitsBut
protected javax.swing.JCheckBox m_OutputPerClassBut
protected javax.swing.JCheckBox m_OutputConfusionBut
protected javax.swing.JCheckBox m_OutputEntropyBut
protected GenericObjectEditor m_ClassificationOutputEditor
protected PropertyPanel m_ClassificationOutputPanel
protected Range m_OutputAdditionalAttributesRange
protected javax.swing.JCheckBox m_EvalWRTCostsBut
protected javax.swing.JButton m_SetCostsBut
protected javax.swing.JLabel m_CVLab
protected javax.swing.JTextField m_CVText
protected javax.swing.JLabel m_PercentLab
protected javax.swing.JTextField m_PercentText
protected javax.swing.JButton m_SetTestBut
protected javax.swing.JFrame m_SetTestFrame
protected PropertyDialog m_SetCostsFrame
protected javax.swing.JTextField m_RandomSeedText
protected javax.swing.JLabel m_RandomLab
protected javax.swing.JCheckBox m_PreserveOrderBut
protected javax.swing.JCheckBox m_OutputSourceCode
protected javax.swing.JTextField m_SourceCodeClass
protected javax.swing.JButton m_StartBut
protected javax.swing.JButton m_StopBut
protected CostMatrixEditor m_CostMatrixEditor
protected Instances m_Instances
protected Loader m_TestLoader
protected int m_TestClassIndex
protected java.lang.Thread m_RunThread
protected VisualizePanel m_CurrentVis
protected javax.swing.filechooser.FileFilter m_ModelFilter
protected javax.swing.filechooser.FileFilter m_PMMLModelFilter
protected javax.swing.JFileChooser m_FileChooser
protected java.util.List<java.lang.String> m_selectedEvalMetrics
protected boolean m_initialSettingsSet
protected void updateRadioLinks()
public void setLog(Logger newLog)
setLog in interface Explorer.LogHandlersetLog in interface PerspectivesetLog in class AbstractPerspectivenewLog - the Logger that will now get info messagespublic void setInstances(Instances inst)
setInstances in interface Explorer.ExplorerPanelsetInstances in interface PerspectivesetInstances in class AbstractPerspectiveinst - a set of Instancespublic Instances getInstances()
protected void setTestSet()
protected void printPredictionsHeader(java.lang.StringBuffer outBuff,
AbstractOutput classificationOutput,
java.lang.String title)
outBuff - the buffer to add the output toclassificationOutput - for generating the classification outputtitle - the title to printpublic static Evaluation setupEval(Evaluation eval, Classifier classifier, Instances inst, CostMatrix costMatrix, ClassifierErrorsPlotInstances plotInstances, AbstractOutput classificationOutput, boolean onlySetPriors) throws java.lang.Exception
eval - the Evaluation object to configureclassifier - the Classifier being usedinst - the Instances involvedcostMatrix - a cost matrix (if any)plotInstances - a ClassifierErrorsPlotInstances for visualization of
errors (can be null)classificationOutput - an output object for printing predictions (can
be null)onlySetPriors - true to only set priorsjava.lang.Exception - if a problem occursprotected void startClassifier()
protected void visualize(java.util.List<java.lang.String> names,
int x,
int y)
names - the name of the result history list entry clicked on by the
userx - the x coordinate for popping up the menuy - the y coordinate for popping up the menuprotected void visualizeTree(java.lang.String dottyString,
java.lang.String treeName)
dottyString - the description of the tree in dotty formattreeName - the title to assign to the displayprotected void visualizeBayesNet(java.lang.String XMLBIF,
java.lang.String graphName)
XMLBIF - the description of the graph in XMLBIF ver. 0.3graphName - the name of the graphprotected void visualizeCostBenefitAnalysis(CostBenefitAnalysis cb, java.lang.String classifierAndRelationName)
cb - the CostBenefitAnalysis panel to pop upprotected void visualizeClassifierErrors(VisualizePanel sp)
sp - the VisualizePanel to pop up.protected void saveBuffer(java.lang.String name)
name - the name of the buffer to saveprotected void stopClassifier()
public void saveClassifier(java.lang.String name,
Classifier classifier,
Instances trainHeader)
name - the name of the runclassifier - the classifier to savetrainHeader - the header of the training instancesprotected void loadClassifier()
protected void reevaluateModel(java.lang.String name,
Classifier classifier,
Instances trainHeader)
name - the name of the classifier entryclassifier - the classifier to evaluatetrainHeader - the header of the training setprotected void updateCapabilitiesFilter(Capabilities filter)
filter - the new filter to usepublic void capabilitiesFilterChanged(Explorer.CapabilitiesFilterChangeEvent e)
capabilitiesFilterChanged in interface Explorer.CapabilitiesFilterChangeListenere - the associated change eventpublic void setExplorer(Explorer parent)
setExplorer in interface Explorer.ExplorerPanelparent - the parent framepublic Explorer getExplorer()
getExplorer in interface Explorer.ExplorerPanelpublic java.lang.String getTabTitle()
getTabTitle in interface Explorer.ExplorerPanelpublic java.lang.String getTabTitleToolTip()
getTabTitleToolTip in interface Explorer.ExplorerPanelpublic boolean requiresLog()
AbstractPerspectiverequiresLog in interface PerspectiverequiresLog in class AbstractPerspectivepublic boolean acceptsInstances()
AbstractPerspectiveacceptsInstances in interface PerspectiveacceptsInstances in class AbstractPerspectivepublic Defaults getDefaultSettings()
AbstractPerspectivegetDefaultSettings in interface PerspectivegetDefaultSettings in class AbstractPerspectivepublic boolean okToBeActive()
AbstractPerspectiveokToBeActive in interface PerspectiveokToBeActive in class AbstractPerspectivepublic void setActive(boolean active)
AbstractPerspectivesetActive in interface PerspectivesetActive in class AbstractPerspectiveactive - true if this perspective is the active onepublic void settingsChanged()
AbstractPerspectivesettingsChanged in interface PerspectivesettingsChanged in class AbstractPerspectivepublic boolean isSelectedCV()
public boolean isSelectedTestOnTrain()
public boolean isSelectedPercentageSplit()
public boolean isSelectedSeparateTestSet()
public boolean isSelectedEvalWithRespectToCosts()
public boolean isSelectedOutputModel()
public boolean isSelectedOutputModelsForTrainingSplits()
public boolean isSelectedOutputConfusion()
public boolean isSelectedOutputPerClassStats()
public boolean isSelectedOutputEntropy()
public boolean isSelectedStorePredictions()
public boolean isSelectedOutputSourceCode()
public boolean isSelectedPreserveOrder()
public java.lang.String getSourceCodeClassName()
public VisualizePanel getCurrentVisualization()
public void setCurrentVisualization(VisualizePanel current)
current - the visualization to usepublic int getSelectedClassIndex()
public int getNumCVFolds()
public double getPercentageSplit()
public Classifier getClassifier()
public CostMatrix getCostMatrix()
public java.lang.Object getClassificationOutputFormatter()
public ResultHistoryPanel getResultHistory()
public Loader getSeparateTestSetLoader()
public int getSeparateTestSetClassIndex()
public int getRandomSeed()
public Logger getLog()
public static void main(java.lang.String[] args)
args - may optionally contain the name of a dataset to load.