Logistic regression training algorithm parameters.
More...
boolean getInterceptFlag |
( |
| ) |
|
Returns the value of the interceptFlag flag
- Returns
- Flag
Gets the optimization solver used by the algorithm
Returns L1 regularization coefficient
- Returns
- PenaltyL1
Returns L2 regularization coefficient
- Returns
- PenaltyL2
void setInterceptFlag |
( |
boolean |
flag | ) |
|
Sets the interceptFlag flag that enables or disables the computation of the beta0 coefficient in the logistic regression equation
- Parameters
-
Sets the optimization solver to be used by the algorithm
- Parameters
-
optimizationSolver | optimization solver to be used by the algorithm |
void setPenaltyL1 |
( |
float |
value | ) |
|
Sets L1 regularization coefficient
- Parameters
-
void setPenaltyL2 |
( |
float |
value | ) |
|
Sets L2 regularization coefficient
- Parameters
-
The documentation for this class was generated from the following file:
- logistic_regression/training/TrainingParameter.java