Provides methods to access the results obtained with the compute() method of the implicit ALS training algorithm in the batch processing mode.
More...
| def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory to store the results of the implicit ALS training algorithm
- Parameters
-
| input | Pointer to the input structure |
| parameter | Pointer to the parameter structure |
| method | Computation method of the algorithm |
- Full Names
allocate_Float64 is for float64
allocate_Float32 is for float32
| def check |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Checks the result of the implicit ALS training algorithm
- Parameters
-
| input | Input object for the algorithm |
| parameter | Parameter of the algorithm |
| method | Computation method of the algorithm |
Returns the result of the implicit ALS training algorithm
- Parameters
-
| id | Identifier of the result |
- Returns
- Result that corresponds to the given identifier
| def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Result self) -> int
| def set |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets the result of the implicit ALS training algorithm
- Parameters
-
| id | Identifier of the result |
| ptr | Pointer to the result |
The documentation for this class was generated from the following file:
- algorithms/implicit_als/training/__init__.py