public class LinearRegressionModelParameters
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LinearRegressionModelParameters.LinearRegressionModelState |
static class |
LinearRegressionModelParameters.ModelCoefficient
An enumeration holding the coefficients.
|
Constructor and Description |
---|
LinearRegressionModelParameters() |
Modifier and Type | Method and Description |
---|---|
void |
addMetricObservation(java.util.Collection<BrokerMetricSample> trainingData) |
java.lang.Double |
getCoefficient(LinearRegressionModelParameters.ModelCoefficient coefficient) |
double |
modelCoefficientTrainingCompleteness() |
LinearRegressionModelParameters.LinearRegressionModelState |
modelState() |
boolean |
trainingCompleted() |
boolean |
updateModelCoefficient()
Trigger the calculation of the model parameters.
|
public boolean trainingCompleted()
public java.lang.Double getCoefficient(LinearRegressionModelParameters.ModelCoefficient coefficient)
public boolean updateModelCoefficient()
public void addMetricObservation(java.util.Collection<BrokerMetricSample> trainingData)
public double modelCoefficientTrainingCompleteness()
public LinearRegressionModelParameters.LinearRegressionModelState modelState()