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(Object[] data) |
Object[] |
calculateLinearRegression(Object[] data) |
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
Copyright © 2017 WSO2. All rights reserved.