Result returned by regression methods.
Compute linear fit coefficients that map observations to a reference: s = A*[o, 1]
.
Compute linear fit coefficients that map observations to a reference: s = A*[o, 1]
.
reference values.
observed values.
linear fit coefficients.
Compute linear fit coefficient s = A*o
if noIntercept
is true or s = A*o + b
if noIntercept
is false
.
Compute linear fit coefficient s = A*o
if noIntercept
is true or s = A*o + b
if noIntercept
is false
.
array of expected output values.
array of input values
true means the model is to be estimated without an intercept term
linear fit coefficients
Compute linear fit coefficient
Compute linear fit coefficient
s = A*o.
array of expected output values.
array of input values
linear fit coefficients
#regression(double[], double[][], boolean)
Helper methods for computing linear regression.