Interface VisualizePlugin


  • public interface VisualizePlugin
    Interface implemented by classes loaded dynamically to visualize classifier results in the explorer.
    Version:
    $Revision: 1.1 $
    Author:
    Jeffery Grajkowski (grajkows@cs.ualberta.ca)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDesignVersion()
      Get the specific version of Weka the class is designed for.
      java.lang.String getMaxVersion()
      Get the maximum version of Weka, exclusive, the class is designed to work with.
      java.lang.String getMinVersion()
      Get the minimum version of Weka, inclusive, the class is designed to work with.
      javax.swing.JMenuItem getVisualizeMenuItem​(FastVector preds, Attribute classAtt)
      Get a JMenu or JMenuItem which contain action listeners that perform the visualization, using some but not necessarily all of the data.
    • Method Detail

      • getVisualizeMenuItem

        javax.swing.JMenuItem getVisualizeMenuItem​(FastVector preds,
                                                   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.
        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

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

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

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