Parameters for the compute() method of the implicit ALS algorithm.
More...
Gets the value of the confidence parameter of the implicit ALS training algorithm
- Returns
- Value of the confidence parameter of the implicit ALS training algorithm
Gets the value of the regularization parameter of the implicit ALS training algorithm
- Returns
- Value of the regularization parameter of the implicit ALS training algorithm
long getMaxIterations |
( |
| ) |
|
Gets the value of the maxIterations parameter
- Returns
- maxIterations
Gets the value of the nFactors parameter
- Returns
- nFactors
double getPreferenceThreshold |
( |
| ) |
|
Gets the value of the threshold used to define preference values
- Returns
- Value of the threshold used to define preference values
void setAlpha |
( |
double |
alpha | ) |
|
Sets the confidence parameter of the implicit ALS training algorithm
- Parameters
-
alpha | Confidence parameter of the implicit ALS training algorithm |
void setLambda |
( |
double |
lambda | ) |
|
Sets the regularization parameter of the implicit ALS training algorithm
- Parameters
-
lambda | Regularization parameter of the implicit ALS training algorithm |
void setMaxIterations |
( |
long |
maxIterations | ) |
|
Sets the maxIterations parameter
- Parameters
-
maxIterations | Maximum number of iterations of the implicit ALS training algorithm |
void setNFactors |
( |
long |
nFactors | ) |
|
Sets the nFactors parameter
- Parameters
-
nFactors | Number of factors |
void setPreferenceThreshold |
( |
double |
preferenceThreshold | ) |
|
Sets the threshold used to define preference values
- Parameters
-
preferenceThreshold | Threshold used to define preference values |
The documentation for this class was generated from the following file:
- implicit_als/Parameter.java