public class LinearRegressionModelParameters extends 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(Collection<BrokerMetricSample> trainingData) |
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 Double getCoefficient(LinearRegressionModelParameters.ModelCoefficient coefficient)
public boolean updateModelCoefficient()
public void addMetricObservation(Collection<BrokerMetricSample> trainingData)
public double modelCoefficientTrainingCompleteness()
public LinearRegressionModelParameters.LinearRegressionModelState modelState()