Class WekaClassifierErrors

    • Field Detail

      • m_VisualizePanel

        protected weka.gui.visualize.VisualizePanel m_VisualizePanel
        the Weka plot panel.
      • m_ErrorScaler

        protected AbstractErrorScaler m_ErrorScaler
        The scheme for scaling the errors.
    • Constructor Detail

      • WekaClassifierErrors

        public WekaClassifierErrors()
    • Method Detail

      • getDefaultWidth

        protected int getDefaultWidth()
        Returns the default width for the dialog.
        Overrides:
        getDefaultWidth in class AbstractDisplay
        Returns:
        the default width
      • getDefaultHeight

        protected int getDefaultHeight()
        Returns the default height for the dialog.
        Overrides:
        getDefaultHeight in class AbstractDisplay
        Returns:
        the default height
      • setErrorScaler

        public void setErrorScaler​(AbstractErrorScaler value)
        Sets the scheme for scaling the errors.
        Parameters:
        value - the scheme
      • getErrorScaler

        public AbstractErrorScaler getErrorScaler()
        Returns the scheme to use for scaling the errors.
        Returns:
        the scheme
      • errorScalerTipText

        public String errorScalerTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Specified by:
        accepts in interface InputConsumer
        Returns:
        weka.classifiers.Evaluation.class
      • display

        protected void display​(Token token)
        ClassifierErrorss the token (the panel and dialog have already been created at this stage).
        Specified by:
        display in class AbstractDisplay
        Parameters:
        token - the token to display
      • getEvaluation

        protected weka.classifiers.Evaluation getEvaluation​(Token token)
        Returns the Evaluation object from the token.
        Parameters:
        token - the token to extract the Evaluation object from
        Returns:
        the Evaluation object
      • displayPanelRequiresScrollPane

        public boolean displayPanelRequiresScrollPane()
        Returns whether the created display panel requires a scroll pane or not.
        Specified by:
        displayPanelRequiresScrollPane in interface DisplayPanelProvider
        Returns:
        true if the display panel requires a scroll pane