Class AbstractThreeWayDataTrainPostProcessor

  • 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
    Direct Known Subclasses:
    ParafacLossHistory, PassThrough

    public abstract class AbstractThreeWayDataTrainPostProcessor
    extends adams.core.option.AbstractOptionHandler
    Ancestor for post-processors of a model generated by ThreeWayDataTrain.
    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

      • AbstractThreeWayDataTrainPostProcessor

        public AbstractThreeWayDataTrainPostProcessor()
    • Method Detail

      • canHandle

        public abstract boolean canHandle​(nz.ac.waikato.cms.adams.multiway.algorithm.api.AbstractAlgorithm algorithm)
        Returns whether the algorithm can be handle.
        Parameters:
        algorithm - the algorithm to check
        Returns:
        true if handled
      • check

        protected String check​(ThreeWayDataModelContainer cont)
        Hook method for checking container before post-processing it.
        Parameters:
        cont - the container to check
        Returns:
        null if successful, otherwise error message
      • doPostProcess

        protected abstract String doPostProcess​(ThreeWayDataModelContainer cont)
        Post-processes the container.
        Parameters:
        cont - the container to post-process
        Returns:
        null if successful, otherwise error message
      • postProcess

        public String postProcess​(ThreeWayDataModelContainer cont)
        Post-processes the container.
        Parameters:
        cont - the container to post-process
        Returns:
        null if successful, otherwise error message