Class for building model of the linear regression algorithm
More...
Constructs the linear regression model builder
- Parameters
-
context | Context to manage linear regression model builder |
cls | Data type to use in intermediate computations of linear regression, Double.class or Float.class |
nFeatures | Number of features |
nResponses | Number of responses |
Returns built model of linear regression
- Returns
- Model of linear regression
void setBeta |
( |
FloatBuffer |
bufBeta, |
|
|
long |
length |
|
) |
| |
Sets beta-coefficionts to the model
- Parameters
-
bufBeta | Set of beta-coefficients |
length | Size of set of beta-coefficients |
void setBeta |
( |
DoubleBuffer |
bufBeta, |
|
|
long |
length |
|
) |
| |
Sets beta-coefficionts to the model
- Parameters
-
bufBeta | Set of beta-coefficients |
length | Size of set of beta-coefficients |
void setBeta |
( |
float[] |
bufBeta | ) |
|
Sets beta-coefficionts to the model
- Parameters
-
bufBeta | Set of beta-coefficients |
void setBeta |
( |
double[] |
bufBeta | ) |
|
Sets beta-coefficionts to the model
- Parameters
-
bufBeta | Set of beta-coefficients |
The documentation for this class was generated from the following file:
- linear_regression/ModelBuilder.java