Class for building model of the logistic regression algorithm
More...
Constructs the logistic regression model builder
- Parameters
-
| context | Context to manage logistic regression model builder |
| cls | Data type to use in intermediate computations of logistic regression, Double.class or Float.class |
| nFeatures | Number of features |
| nClasses | Number of classes |
Returns built model of logistic regression
- Returns
- Model of logistic 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-coefficient |
| 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:
- logistic_regression/ModelBuilder.java