接口 ErrorVisualizePlugin


public interface ErrorVisualizePlugin
Interface implemented by classes loaded dynamically to visualize classifier errors in the explorer.
版本:
$Revision: 9053 $
作者:
FracPete (fracpete at waikato dot ac dot nz)
  • 方法概要

    修饰符和类型
    方法
    说明
    Get the specific version of Weka the class is designed for.
    Get the maximum version of Weka, exclusive, the class is designed to work with.
    Get the minimum version of Weka, inclusive, the class is designed to work with.
    Get a JMenu or JMenuItem which contain action listeners that perform the visualization of the classifier errors.
  • 方法详细资料

    • getVisualizeMenuItem

      JMenuItem getVisualizeMenuItem(Instances predInst)
      Get a JMenu or JMenuItem which contain action listeners that perform the visualization of the classifier errors.

      The actual class is the attribute declared as class attribute, the predicted class values is found in the attribute prior to the class attribute's position. In other words, if the classIndex() method returns 10, then the attribute position for the predicted class values is 9.

      Exceptions thrown because of changes in Weka since compilation need to be caught by the implementer.

      参数:
      predInst - the instances with the actual and predicted class values
      返回:
      menuitem for opening visualization(s), or null to indicate no visualization is applicable for the input
      另请参阅:
    • getMinVersion

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

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

      String getDesignVersion()
      Get the specific version of Weka the class is designed for. eg: 3.5.1
      返回:
      the version the plugin was designed for