Kieker 1.12

kieker.tools.opad.timeseries.forecast.mean
Class MeanForecaster

java.lang.Object
  extended by kieker.tools.opad.timeseries.forecast.AbstractForecaster<java.lang.Double>
      extended by kieker.tools.opad.timeseries.forecast.AbstractRForecaster
          extended by kieker.tools.opad.timeseries.forecast.mean.MeanForecaster
All Implemented Interfaces:
IForecaster<java.lang.Double>

public class MeanForecaster
extends AbstractRForecaster

An R-based time series forecaster which computes a forecast based on the mean value of the historic values.

Since:
1.10
Author:
Andre van Hoorn

Field Summary
 
Fields inherited from class kieker.tools.opad.timeseries.forecast.AbstractRForecaster
MIN_TS_SIZE_DEFAULT
 
Constructor Summary
MeanForecaster(ITimeSeries<java.lang.Double> historyTimeseries)
           
MeanForecaster(ITimeSeries<java.lang.Double> historyTimeseries, int confidenceLevel)
           
 
Method Summary
protected  java.lang.String[] getForecastFuncParams()
          Returns additional parameters to be appended to the call of the R forecast function.
protected  java.lang.String[] getModelFuncParams()
          Returns additional parameters to be appended to the call of the R forecast model.
 
Methods inherited from class kieker.tools.opad.timeseries.forecast.AbstractRForecaster
createNaNForecast, forecast, forecastOperationOnResult, lowerOperationOnResult, removeNullValues, satisfiesInputTSRequirements, upperOperationOnResult
 
Methods inherited from class kieker.tools.opad.timeseries.forecast.AbstractForecaster
getConfidenceLevel, getTsOriginal, prepareForecastTS, supportsConfidence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeanForecaster

public MeanForecaster(ITimeSeries<java.lang.Double> historyTimeseries)
Parameters:
historyTimeseries - timeseries used by forecating algo

MeanForecaster

public MeanForecaster(ITimeSeries<java.lang.Double> historyTimeseries,
                      int confidenceLevel)
Parameters:
historyTimeseries - timeseries used by forecating algo
confidenceLevel - value of confidence
Method Detail

getModelFuncParams

protected java.lang.String[] getModelFuncParams()
Description copied from class: AbstractRForecaster
Returns additional parameters to be appended to the call of the R forecast model.

Specified by:
getModelFuncParams in class AbstractRForecaster
Returns:
the parameters or null if none

getForecastFuncParams

protected java.lang.String[] getForecastFuncParams()
Description copied from class: AbstractRForecaster
Returns additional parameters to be appended to the call of the R forecast function.

Specified by:
getForecastFuncParams in class AbstractRForecaster
Returns:
the parameters or null if none

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net