public class LinearRegression extends Object
Constructor and Description |
---|
LinearRegression(RandomVariable[] basisFunctions)
Create the linear regression with a set of basis functions.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getRegressionCoefficients(RandomVariable value)
Get the vector of regression coefficients.
|
public LinearRegression(RandomVariable[] basisFunctions)
basisFunctions
- A vector of (independent) random variables to be used as basis functions.public double[] getRegressionCoefficients(RandomVariable value)
value
- The random variable to regress.Copyright © 2019. All rights reserved.