public class ForecastResult extends java.lang.Object implements IForecastResult
IForecaster
. If additional fields are required, IForecaster
s should extend this class.Constructor and Description |
---|
ForecastResult(ITimeSeries<java.lang.Double> tsForecast,
ITimeSeries<java.lang.Double> tsOriginal,
ForecastMethod fcStrategy)
Constructs a
ForecastResult with confidence level 0 , where the time series returned getLower() by getUpper() are the
forecast series. |
ForecastResult(ITimeSeries<java.lang.Double> tsForecast,
ITimeSeries<java.lang.Double> tsOriginal,
int tsconfidenceLevel,
double tsmeanAbsoluteScaledError,
ITimeSeries<java.lang.Double> tsLower,
ITimeSeries<java.lang.Double> tsUpper,
ForecastMethod fcStrategy) |
Modifier and Type | Method and Description |
---|---|
int |
getConfidenceLevel()
Returns the confidence level for the forecast interval.
|
ForecastMethod |
getFcStrategy()
Returns the forecasting strategy that has been used for this forecast.
|
ITimeSeries<java.lang.Double> |
getForecast()
Returns the point forecasts.
|
ITimeSeries<java.lang.Double> |
getLower()
Returns the lower limits for forecast interval with respect to the confidence level
IForecastResult.getConfidenceLevel() . |
double |
getMeanAbsoluteScaledError()
Returns the MeanAbsoluteScaledError.
|
ITimeSeries<java.lang.Double> |
getOriginal()
Returns the original time series that was the basis for the forecast.
|
ITimeSeries<java.lang.Double> |
getUpper()
Returns the upper limits for forecast interval with respect to the confidence level
IForecastResult.getConfidenceLevel() . |
boolean |
isPlausible()
Checks whether the input seems to be plausible.
|
java.lang.String |
toString() |
public ForecastResult(ITimeSeries<java.lang.Double> tsForecast, ITimeSeries<java.lang.Double> tsOriginal, int tsconfidenceLevel, double tsmeanAbsoluteScaledError, ITimeSeries<java.lang.Double> tsLower, ITimeSeries<java.lang.Double> tsUpper, ForecastMethod fcStrategy)
tsForecast
- TimesSeriestsOriginal
- TimeSeriestsconfidenceLevel
- confidentLeveltsmeanAbsoluteScaledError
- MASEtsLower
- ??tsUpper
- ??fcStrategy
- FC Methodpublic ForecastResult(ITimeSeries<java.lang.Double> tsForecast, ITimeSeries<java.lang.Double> tsOriginal, ForecastMethod fcStrategy)
ForecastResult
with confidence level 0
, where the time series returned getLower()
by getUpper()
are the
forecast series.tsForecast
- Timeseries with forecasttsOriginal
- Timeseries with orginalfcStrategy
- forecastMethodpublic ITimeSeries<java.lang.Double> getForecast()
IForecastResult
getForecast
in interface IForecastResult
public int getConfidenceLevel()
IForecastResult
getConfidenceLevel
in interface IForecastResult
public ITimeSeries<java.lang.Double> getUpper()
IForecastResult
IForecastResult.getConfidenceLevel()
.getUpper
in interface IForecastResult
public ITimeSeries<java.lang.Double> getLower()
IForecastResult
IForecastResult.getConfidenceLevel()
.getLower
in interface IForecastResult
public ITimeSeries<java.lang.Double> getOriginal()
IForecastResult
getOriginal
in interface IForecastResult
public java.lang.String toString()
toString
in class java.lang.Object
public double getMeanAbsoluteScaledError()
IForecastResult
getMeanAbsoluteScaledError
in interface IForecastResult
public ForecastMethod getFcStrategy()
IForecastResult
getFcStrategy
in interface IForecastResult
public boolean isPlausible()
isPlausible
in interface IForecastResult
Copyright 2017 Kieker Project, http://kieker-monitoring.net