Class AbstractOutputGeneratorWithSeparateFoldsSupport<T extends JComponent>

    • 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

      • AbstractOutputGeneratorWithSeparateFoldsSupport

        public AbstractOutputGeneratorWithSeparateFoldsSupport()
    • Method Detail

      • createOutput

        protected abstract T createOutput​(ResultItem item,
                                          weka.classifiers.Evaluation eval,
                                          int[] originalIndices,
                                          adams.data.spreadsheet.SpreadSheet additionalAttributes,
                                          adams.core.MessageCollection errors)
        Generates the output for the evaluation.
        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
      • createOutput

        public JComponent createOutput​(ResultItem item,
                                       adams.core.MessageCollection errors)
        Generates output from the item.
        Specified by:
        createOutput in class AbstractOutputGenerator<ResultItem>
        Parameters:
        item - the item to generate output for
        errors - for collecting error messages
        Returns:
        the output component, null if failed to generate