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 ErrorVisualizePluginpredInst - the instances with the actual and predicted class valuesNoClassDefFoundError,
IncompatibleClassChangeErrorpublic String getMinVersion()
3.5.0getMinVersion in interface ErrorVisualizePluginpublic String getMaxVersion()
3.6.0getMaxVersion in interface ErrorVisualizePluginpublic String getDesignVersion()
3.5.1getDesignVersion in interface ErrorVisualizePluginpublic String getSubmenuTitle()
getSubmenuTitle in interface MainMenuExtensionpublic String getMenuTitle()
getMenuTitle in interface MainMenuExtensionpublic ActionListener getActionListener(JFrame owner)
ActionListener to launch or update the Entropy Triangle window.getActionListener in interface MainMenuExtensionowner - Not used, needed to conform the interface MainMenuExtensionActionListenerpublic void fillFrame(Component frame)
MainMenuExtension
interface, but not implemented.fillFrame in interface MainMenuExtensionpublic TechnicalInformation getTechnicalInformation()
getTechnicalInformation in interface TechnicalInformationHandler