public class AutomaticForecaster extends Object implements Forecaster
| Modifier and Type | Class and Description |
|---|---|
static class |
AutomaticForecaster.ConceptDriftStrategy
Strategy used for dealing with concept drift (statistical properties of modelled time series change over time)
For instance originally monotonic time series has changed to trend stationary or seasonal pattern has showed up.
|
static class |
AutomaticForecaster.ErrorChangeStrategy
Changes model if run accuracy differs by X percent to init accuracy (MSE, MAE).
|
static class |
AutomaticForecaster.PeriodicIntervalStrategy
The best model is periodically selected after each x learned points.
|
Forecaster.Config, Forecaster.Update| Constructor and Description |
|---|
AutomaticForecaster(MetricContext context) |
AutomaticForecaster(MetricContext context,
Forecaster.Config config) |
| Modifier and Type | Method and Description |
|---|---|
Forecaster.Config |
config() |
MetricContext |
context() |
DataPoint |
forecast() |
List<DataPoint> |
forecast(int nAhead) |
boolean |
initialized() |
long |
lastTimestamp() |
void |
learn(DataPoint dataPoint) |
void |
learn(List<DataPoint> dataPoints) |
TimeSeriesModel |
model() |
void |
update(Forecaster.Update update) |
public AutomaticForecaster(MetricContext context)
public AutomaticForecaster(MetricContext context, Forecaster.Config config)
public void learn(DataPoint dataPoint)
learn in interface ForecasterTimeSeriesModel.learn(DataPoint)public void learn(List<DataPoint> dataPoints)
learn in interface ForecasterTimeSeriesModel.learn(List)public DataPoint forecast()
forecast in interface ForecasterTimeSeriesModel.forecast()public List<DataPoint> forecast(int nAhead)
forecast in interface ForecasterTimeSeriesModel.forecast(int)public TimeSeriesModel model()
model in interface Forecasterpublic MetricContext context()
context in interface Forecasterpublic boolean initialized()
initialized in interface Forecasterpublic long lastTimestamp()
lastTimestamp in interface Forecasterpublic void update(Forecaster.Update update)
update in interface Forecasterpublic Forecaster.Config config()
config in interface ForecasterCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.