public class EntropyTrianglePlugin extends Object implements ErrorVisualizePlugin, MainMenuExtension, TechnicalInformationHandler
EntropyTrianglePanel
, is shared for both invoking sources. This way can be added instances from the explorer
to a plot of a instances loaded from a file.
EntropyTrianglePanel
Constructor and Description |
---|
EntropyTrianglePlugin() |
Modifier and Type | Method and Description |
---|---|
void |
fillFrame(Component frame)
Not used.
|
ActionListener |
getActionListener(JFrame owner)
Gets an
ActionListener to launch or update the Entropy Triangle window. |
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 |
getMenuTitle() |
String |
getMinVersion()
Get the minimum version of Weka, inclusive, the class is designed to work
with.
|
String |
getSubmenuTitle() |
TechnicalInformation |
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing detailed
information about the technical background of this class, e.g., paper
reference or book this class is based on.
|
JMenuItem |
getVisualizeMenuItem(Instances predInst)
Get a JMenu or JMenuItem which contain action listeners that perform the
visualization of the Entropy Triangle.
|
public JMenuItem getVisualizeMenuItem(Instances predInst)
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.getVisualizeMenuItem
in interface ErrorVisualizePlugin
predInst
- the instances with the actual and predicted class valuesNoClassDefFoundError
,
IncompatibleClassChangeError
public String getMinVersion()
3.5.0
getMinVersion
in interface ErrorVisualizePlugin
public String getMaxVersion()
3.6.0
getMaxVersion
in interface ErrorVisualizePlugin
public String getDesignVersion()
3.5.1
getDesignVersion
in interface ErrorVisualizePlugin
public String getSubmenuTitle()
getSubmenuTitle
in interface MainMenuExtension
public String getMenuTitle()
getMenuTitle
in interface MainMenuExtension
public ActionListener getActionListener(JFrame owner)
ActionListener
to launch or update the Entropy Triangle window.getActionListener
in interface MainMenuExtension
owner
- Not used, needed to conform the interface MainMenuExtensionActionListener
public void fillFrame(Component frame)
MainMenuExtension
interface, but not implemented.fillFrame
in interface MainMenuExtension
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler