Class | Description |
---|---|
LengthTimeLinearRegressionForecastStreamProcessor |
Sample Query1 (time window, length window, nextX, y, x):
from InputStream#timeseries:lengthTimeOutlier(20 min, 20, x+2, y, x)
select *
insert into OutputStream;
Sample Query2 (time window, length window, nextX, calculation interval, confidence interval, y, x):
from InputStream#timeseries:lengthTimeOutlier(20 min, 20, x+2, 2, 0.9, y, x)
select *
insert into OutputStream;
This class performs enables users to forecast future events using linear regression
Number of data points could be constrained using both time and length windows.
|
LengthTimeLinearRegressionOutlierStreamProcessor |
The outlier function takes in a dependent event stream (Y), an independent event stream (X)
and a user specified range for outliers, and
returns an output to indicate whether the current event is an outlier based on the regression equation
that fits historical data.
|
LengthTimeLinearRegressionStreamProcessor |
This class performs linear regression.
|
LinearRegressionForecastStreamProcessor |
This class performs linear regression forecasting.
|
LinearRegressionOutlierStreamProcessor |
The outlier function takes in a dependent event stream (Y), an independent event stream (X) and
a user specified range for outliers, and returns whether the current event is an outlier,
based on the regression equation that fits historical data.
|
LinearRegressionStreamProcessor |
The methods supported by this function are
timeseries:regress(int/long/float/double y, int/long/float/double x1, int/long/float/double x2 ...)
and
timeseries:regress(int calcInterval, int batchSize, double confidenceInterval, int/long/float/double y,
int/long/float/double x1, int/long/float/double x2 ...).
|
Copyright © 2018 WSO2. All rights reserved.