Class BaselineAdjustedForecasterGenerator

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, SizeOfHandler, Serializable

    public class BaselineAdjustedForecasterGenerator
    extends AbstractForecasterGenerator
    Outputs a configured instance of a baseline-adjusted Forecaster.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -correction <adams.data.baseline.AbstractBaselineCorrection> (property: correction)
        The baseline correction scheme to use.
        default: adams.data.baseline.LOWESSBased
     
    -baseline <adams.flow.source.wekaforecastersetup.AbstractForecasterGenerator> (property: baseline)
        The forecaster generator for the baseline data.
        default: adams.flow.source.wekaforecastersetup.WekaForecasterGenerator -classifier \"weka.classifiers.functions.LinearRegression -S 0 -R 1.0E-8\" -lag-maker adams.flow.core.LagMakerOptions
     
    -periodicity <adams.flow.source.wekaforecastersetup.AbstractForecasterGenerator> (property: periodicity)
        The forecaster generator for the periodicity data.
        default: adams.flow.source.wekaforecastersetup.WekaForecasterGenerator -classifier \"weka.classifiers.functions.LinearRegression -S 0 -R 1.0E-8\" -lag-maker adams.flow.core.LagMakerOptions
     
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • BaselineAdjustedForecasterGenerator

        public BaselineAdjustedForecasterGenerator()
    • Method Detail

      • setCorrection

        public void setCorrection​(AbstractBaselineCorrection value)
        Sets the baseline correction scheme to use.
        Parameters:
        value - the scheme
      • getCorrection

        public AbstractBaselineCorrection getCorrection()
        Returns the baseline correction scheme in use.
        Returns:
        the scheme
      • correctionTipText

        public String correctionTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setBaseline

        public void setBaseline​(AbstractForecasterGenerator value)
        Sets the forecaster generator for the baseline data.
        Parameters:
        value - the generator
      • getBaseline

        public AbstractForecasterGenerator getBaseline()
        Returns the forecaster generator in use for the baseline data.
        Returns:
        the generator
      • baselineTipText

        public String baselineTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPeriodicity

        public void setPeriodicity​(AbstractForecasterGenerator value)
        Sets the forecaster generator for the periodicity data.
        Parameters:
        value - the generator
      • getPeriodicity

        public AbstractForecasterGenerator getPeriodicity()
        Returns the forecaster generator in use for the periodicity data.
        Returns:
        the generator
      • periodicityTipText

        public String periodicityTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • generate

        public weka.classifiers.timeseries.AbstractForecaster generate()
                                                                throws Exception
        Generates an instance of a AbstractForecaster.
        Specified by:
        generate in class AbstractForecasterGenerator
        Returns:
        the forecaster instance
        Throws:
        Exception - if the setup fails