Multivariable handles multi dimensional data where a vector of independent x values should be used to predict a single y value.
Function or value | Description |
|
Calculates the coefficients for a straight line fitting the data. Linear regression minimizes the sum of squared residuals.
Example
|
|
Calculates the coefficients for a straight line fitting the data using Cholesky Decomposition. Linear regression minimizes the sum of squared residuals.
Example
|
Full Usage:
predict coef x
Parameters:
Coefficients
-
Coefficients from linear regression.
x : Vector<float>
Returns: float
predicted y value with given coefficients at X=x
|
Example
|