Class BaselineAdjustedForecasterGenerator
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.source.wekaforecastersetup.AbstractForecasterGenerator
-
- adams.flow.source.wekaforecastersetup.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
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractForecasterGeneratorm_Baselinethe forecaster setup for the baseline.protected AbstractBaselineCorrectionm_Correctionthe baseline correction scheme.protected AbstractForecasterGeneratorm_Periodicitythe forecaster setup for the periodicity.-
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 Summary
Constructors Constructor Description BaselineAdjustedForecasterGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbaselineTipText()Returns the tip text for this property.StringcorrectionTipText()Returns the tip text for this property.voiddefineOptions()Adds options to the internal list of options.weka.classifiers.timeseries.AbstractForecastergenerate()Generates an instance of aAbstractForecaster.AbstractForecasterGeneratorgetBaseline()Returns the forecaster generator in use for the baseline data.AbstractBaselineCorrectiongetCorrection()Returns the baseline correction scheme in use.AbstractForecasterGeneratorgetPeriodicity()Returns the forecaster generator in use for the periodicity data.StringgetQuickInfo()Returns a quick info about the actor, which will be displayed in the GUI.StringglobalInfo()Returns a string describing the object.StringperiodicityTipText()Returns the tip text for this property.voidsetBaseline(AbstractForecasterGenerator value)Sets the forecaster generator for the baseline data.voidsetCorrection(AbstractBaselineCorrection value)Sets the baseline correction scheme to use.voidsetPeriodicity(AbstractForecasterGenerator value)Sets the forecaster generator for the periodicity data.-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Field Detail
-
m_Correction
protected AbstractBaselineCorrection m_Correction
the baseline correction scheme.
-
m_Baseline
protected AbstractForecasterGenerator m_Baseline
the forecaster setup for the baseline.
-
m_Periodicity
protected AbstractForecasterGenerator m_Periodicity
the forecaster setup for the periodicity.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
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.
-
getQuickInfo
public String getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI.- Specified by:
getQuickInfoin interfaceQuickInfoSupporter- Overrides:
getQuickInfoin classAbstractForecasterGenerator- Returns:
- null if no info available, otherwise short string
-
generate
public weka.classifiers.timeseries.AbstractForecaster generate() throws ExceptionGenerates an instance of aAbstractForecaster.- Specified by:
generatein classAbstractForecasterGenerator- Returns:
- the forecaster instance
- Throws:
Exception- if the setup fails
-
-