public abstract class AbstractShowThresholdCurve extends AbstractClassifyResultHistoryPlugin
Modifier and Type | Field and Description |
---|---|
static String |
CURVE_DATA |
m_Owner
Constructor and Description |
---|
AbstractShowThresholdCurve() |
Modifier and Type | Method and Description |
---|---|
protected weka.gui.visualize.ThresholdVisualizePanel |
createPanel(weka.core.Instances data,
String title)
Creates a panel displaying the ROC data.
|
ActionListener |
getActionListener(ResultHistoryList history,
int index)
Returns the action lister to use in the menu.
|
protected abstract String |
getDefaultXColumn()
Returns the name of the default X column to display.
|
protected abstract String |
getDefaultYColumn()
Returns the name of the default Y column to display.
|
String |
getGroup()
Returns the group of the plugin.
|
boolean |
handles(ResultHistoryList history,
int index)
Checks whether the current item can be handled.
|
protected void |
setComboBoxIndices(weka.core.Instances data,
weka.gui.visualize.ThresholdVisualizePanel panel)
Sets the combobox indices.
|
getClassifier, getHeader, getPlugins, populateMenu
compareTo, customizePopupMenu, equals, getName, getOwner, getSessionValue, hasSessionValue, populateMenu, setOwner, setSessionValue
public static final String CURVE_DATA
public String getGroup()
getGroup
in class AbstractResultHistoryPlugin
public boolean handles(ResultHistoryList history, int index)
handles
in class AbstractResultHistoryPlugin
history
- the current historyindex
- the selected history itemprotected abstract String getDefaultXColumn()
protected abstract String getDefaultYColumn()
protected void setComboBoxIndices(weka.core.Instances data, weka.gui.visualize.ThresholdVisualizePanel panel) throws Exception
data
- the threshold curve datapanel
- the panelException
- if setting of indices failsprotected weka.gui.visualize.ThresholdVisualizePanel createPanel(weka.core.Instances data, String title) throws Exception
data
- the threshold curve datatitle
- the title of the plotException
- if plot generation failspublic ActionListener getActionListener(ResultHistoryList history, int index)
getActionListener
in class AbstractResultHistoryPlugin
history
- the current historyindex
- the selected history itemCopyright © 2017. All Rights Reserved.