kieker.tools.opad.timeseries.forecast.naive
Class NaiveForecaster
java.lang.Object
kieker.tools.opad.timeseries.forecast.AbstractForecaster<java.lang.Double>
kieker.tools.opad.timeseries.forecast.AbstractRForecaster
kieker.tools.opad.timeseries.forecast.naive.NaiveForecaster
- All Implemented Interfaces:
- IForecaster<java.lang.Double>
public class NaiveForecaster
- extends AbstractRForecaster
This is one of the forecasters used in the research
paper on Self-adaptive workload classification and forecasting for
proactive resource provisioning
(http://dx.doi.org/10.1002/cpe.3224), authored by Herbst et al.
- Since:
- 1.10
- Author:
- Nikolas Herbst
The naïve forecast considers only the
value of the most recent observation assuming that this
value has the highest probability for the next forecast point.
Horizon: very short term forecast (1-2 points)
Overhead: nearly none O(1)
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NaiveForecaster
public NaiveForecaster(ITimeSeries<java.lang.Double> historyTimeseries)
- Parameters:
historyTimeseries
- timeseries used by forecating algo
NaiveForecaster
public NaiveForecaster(ITimeSeries<java.lang.Double> historyTimeseries,
int confidenceLevel)
- Parameters:
historyTimeseries
- timeseries used by forecating algoconfidenceLevel
- value of confidence
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
Copyright 2015 Kieker Project, http://kieker-monitoring.net