weka.gui.visualize.plugins
Class ThresholdCurves

java.lang.Object
  extended by weka.gui.visualize.plugins.ThresholdCurves
All Implemented Interfaces:
weka.gui.visualize.plugins.VisualizePlugin

public class ThresholdCurves
extends Object
implements weka.gui.visualize.plugins.VisualizePlugin

Displays all the threshold curves (ROC) in a single plot.

Version:
$Revision: 4521 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Constructor Summary
ThresholdCurves()
           
 
Method Summary
 String getDesignVersion()
          Get the specific version of Weka the class is designed for.
 String getMaxVersion()
          Get the maximum version of Weka, exclusive, the class is designed to work with.
 String getMinVersion()
          Get the minimum version of Weka, inclusive, the class is designed to work with.
 JMenuItem getVisualizeMenuItem(weka.core.FastVector preds, weka.core.Attribute classAtt)
          Get a JMenu or JMenuItem which contain action listeners that perform the visualization, using some but not necessarily all of the data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThresholdCurves

public ThresholdCurves()
Method Detail

getVisualizeMenuItem

public JMenuItem getVisualizeMenuItem(weka.core.FastVector preds,
                                      weka.core.Attribute classAtt)
Get a JMenu or JMenuItem which contain action listeners that perform the visualization, using some but not necessarily all of the data. Exceptions thrown because of changes in Weka since compilation need to be caught by the implementer.

Specified by:
getVisualizeMenuItem in interface weka.gui.visualize.plugins.VisualizePlugin
Parameters:
preds - predictions
classAtt - class attribute
Returns:
menuitem for opening visualization(s), or null to indicate no visualization is applicable for the input
See Also:
NoClassDefFoundError, IncompatibleClassChangeError

getMinVersion

public String getMinVersion()
Get the minimum version of Weka, inclusive, the class is designed to work with. eg: 3.5.0

Specified by:
getMinVersion in interface weka.gui.visualize.plugins.VisualizePlugin
Returns:
the minimum version

getMaxVersion

public String getMaxVersion()
Get the maximum version of Weka, exclusive, the class is designed to work with. eg: 3.6.0

Specified by:
getMaxVersion in interface weka.gui.visualize.plugins.VisualizePlugin
Returns:
the maximum version

getDesignVersion

public String getDesignVersion()
Get the specific version of Weka the class is designed for. eg: 3.5.1

Specified by:
getDesignVersion in interface weka.gui.visualize.plugins.VisualizePlugin
Returns:
the version the plugin was designed for


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.