public abstract class LeastSquaresRegression extends Object
| Constructor and Description |
|---|
LeastSquaresRegression() |
| Modifier and Type | Method and Description |
|---|---|
protected double[][] |
addInterceptVariable(double[][] x,
boolean useIntercept) |
protected void |
checkData(double[][] x,
double[] y) |
protected void |
checkData(double[][] x,
double[][] weights,
double[] y) |
protected void |
checkData(double[][] x,
double[] weights,
double[] y) |
protected double[] |
convertArray(double[] x) |
protected double[][] |
convertArray(double[][] x) |
abstract LeastSquaresRegressionResult |
regress(double[][] x,
double[][] weights,
double[] y,
boolean useIntercept) |
protected double[] |
writeArrayAsVector(double[][] x) |
public abstract LeastSquaresRegressionResult regress(double[][] x, double[][] weights, double[] y, boolean useIntercept)
protected void checkData(double[][] x,
double[][] weights,
double[] y)
protected void checkData(double[][] x,
double[] weights,
double[] y)
protected void checkData(double[][] x,
double[] y)
protected double[][] addInterceptVariable(double[][] x,
boolean useIntercept)
protected double[][] convertArray(double[][] x)
protected double[] convertArray(double[] x)
protected double[] writeArrayAsVector(double[][] x)
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.