object SimplerRegression extends Error
The SimplerRegression
companion object provides a simple factory method
for building simple regression linear regression models.
- Alphabetic
- By Inheritance
- SimplerRegression
- Error
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
apply(x: VectoD, y: VectoD, fname: Strings, hparam: HyperParameter): SimplerRegression
Create a Simpler Linear Regression model, automatically creating a a data/input matrix from the vector 'x'.
Create a Simpler Linear Regression model, automatically creating a a data/input matrix from the vector 'x'.
- x
the data/input m-by-1 vector
- y
the response/output m-vector
- hparam
the hyper-parameters (currently has none)
-
def
apply(xy: MatriD, fname: Strings = null, hparam: HyperParameter = null): SimplerRegression
Create a Simpler Linear Regression model from a combined data matrix.
Create a Simpler Linear Regression model from a combined data matrix. Take the first column for the predictor and the last column for the response.
- xy
the combined data matrix
- hparam
the hyper-parameters (currently has none)
- val drp: (Null, Null)
-
final
def
flaw(method: String, message: String): Unit
- Definition Classes
- Error