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 AbstractForecasterGenerator
m_Baseline
the forecaster setup for the baseline.protected AbstractBaselineCorrection
m_Correction
the baseline correction scheme.protected AbstractForecasterGenerator
m_Periodicity
the 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 String
baselineTipText()
Returns the tip text for this property.String
correctionTipText()
Returns the tip text for this property.void
defineOptions()
Adds options to the internal list of options.weka.classifiers.timeseries.AbstractForecaster
generate()
Generates an instance of aAbstractForecaster
.AbstractForecasterGenerator
getBaseline()
Returns the forecaster generator in use for the baseline data.AbstractBaselineCorrection
getCorrection()
Returns the baseline correction scheme in use.AbstractForecasterGenerator
getPeriodicity()
Returns the forecaster generator in use for the periodicity data.String
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI.String
globalInfo()
Returns a string describing the object.String
periodicityTipText()
Returns the tip text for this property.void
setBaseline(AbstractForecasterGenerator value)
Sets the forecaster generator for the baseline data.void
setCorrection(AbstractBaselineCorrection value)
Sets the baseline correction scheme to use.void
setPeriodicity(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:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in 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:
getQuickInfo
in interfaceQuickInfoSupporter
- Overrides:
getQuickInfo
in classAbstractForecasterGenerator
- Returns:
- null if no info available, otherwise short string
-
generate
public weka.classifiers.timeseries.AbstractForecaster generate() throws Exception
Generates an instance of aAbstractForecaster
.- Specified by:
generate
in classAbstractForecasterGenerator
- Returns:
- the forecaster instance
- Throws:
Exception
- if the setup fails
-
-