Class AbstractOutputGeneratorWithFoldModelsSupport<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

      • AbstractOutputGeneratorWithFoldModelsSupport

        public AbstractOutputGeneratorWithFoldModelsSupport()
    • Method Detail

      • canHandleModel

        protected boolean canHandleModel​(weka.classifiers.Classifier model)
        Checks whether the model can be handled.
        Parameters:
        model - the model to check
        Returns:
        true if handled
      • createOutput

        protected abstract T createOutput​(weka.classifiers.Classifier model,
                                          adams.core.MessageCollection errors)
        Generates the output for the model.
        Parameters:
        model - the model 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