Multivariable Module
Multivariable handles multi dimensional data where a vector of independent x values should be used to predict a single y value.
Functions and values
| Function or value | Description |
Full Usage:
fit xData yData
Parameters:
Matrix<float>
-
matrix of x vectors
yData : Vector<float>
-
vector of y values
Returns: Coefficients
vector of linear coefficients
|
Example
val xVectorMulti: obj
val yVectorMulti: obj
val transformX: x: 'a -> 'b
val x: 'a
val coefficientsMV: obj
|
Full Usage:
fitCholesky xData yData
Parameters:
Matrix<float>
-
matrix of x vectors
yData : Vector<float>
-
vector of y values
Returns: Coefficients
vector of linear coefficients
|
Example
val xVectorMulti: obj
val yVectorMulti: obj
val transformX: x: 'a -> 'b
val x: 'a
val coefficientsMV: obj
|
Full Usage:
predict coef x
Parameters:
Coefficients
-
Coefficients from linear regression.
x : Vector<float>
-
x vector for which the y value should be predicted
Returns: float
predicted y value with given coefficients at X=x
|
Example
val xVectorMulti: obj
val yVectorMulti: obj
val transformX: x: 'a -> 'b
val x: 'a
val coefficientsMV: obj
val fittingFunctionMV: x: 'a -> 'b
|
FSharp.Stats