public abstract class RegressionCalculator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
batchSize |
protected int |
calcInterval |
protected double |
confidenceInterval |
protected int |
eventCount |
protected int |
incCounter |
protected int |
xParameterCount |
| Constructor and Description |
|---|
RegressionCalculator(int paramCount,
int calcInt,
int limit,
double ci) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addEvent(org.wso2.siddhi.core.event.in.InEvent inEvent,
Map<Integer,String> paramPositions,
int paramCount) |
Object[] |
calculateLinearRegression(org.wso2.siddhi.core.event.in.InEvent inEvent,
Map<Integer,String> paramPositions) |
protected abstract Object[] |
processData() |
protected abstract void |
removeEvent() |
protected double confidenceInterval
protected int eventCount
protected int xParameterCount
protected int batchSize
protected int incCounter
protected int calcInterval
public RegressionCalculator(int paramCount,
int calcInt,
int limit,
double ci)
Copyright © 2015 WSO2. All Rights Reserved.