Class ResidualsVsFitted

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, Serializable

    public class ResidualsVsFitted
    extends AbstractOutputGeneratorWithSeparateFoldsSupport<ComponentContentPanel>
    Plots the residuals vs the fitted values (= predictions).
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Constructor Detail

      • ResidualsVsFitted

        public ResidualsVsFitted()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • createOutput

        protected ComponentContentPanel createOutput​(ResultItem item,
                                                     weka.classifiers.Evaluation eval,
                                                     int[] originalIndices,
                                                     adams.data.spreadsheet.SpreadSheet additionalAttributes,
                                                     adams.core.MessageCollection errors)
        Generates the output for the evaluation.
        Specified by:
        createOutput in class AbstractOutputGeneratorWithSeparateFoldsSupport<ComponentContentPanel>
        Parameters:
        item - the item to generate output for
        eval - the evaluation to use as basis
        originalIndices - the original indices to use, can be null
        additionalAttributes - the additional attributes to display, can be null
        errors - for collecting errors
        Returns:
        the generated table, null if failed to generate