Class AbstractOutputGeneratorWithSeparateFoldsSupport<T extends JComponent>

    • Constructor Detail

      • AbstractOutputGeneratorWithSeparateFoldsSupport

        public AbstractOutputGeneratorWithSeparateFoldsSupport()
    • Method Detail

      • createOutput

        protected abstract T createOutput​(weka.classifiers.Evaluation eval,
                                          adams.core.MessageCollection errors)
        Generates the table with the confusion matrix.
        Parameters:
        eval - the evaluation to use as basis
        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