Provides methods to access partial results obtained with the compute() method of the implicit ALS initialization algorithm.
More...
| def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory for storing partial results of the implicit ALS initialization algorithm
- Parameters
-
| input | Pointer to the input object 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 a partial result of the implicit ALS initialization algorithm
- Parameters
-
| input | Input object for the algorithm |
| parameter | Parameter of the algorithm |
| method | Computation method of the algorithm |
| def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(DistributedPartialResultStep2 self) -> int
| def getTable |
( |
|
self, |
|
|
|
id |
|
) |
| |
Gets a partial result of the implicit ALS initialization algorithm
- Parameters
-
| id | Identifier of the partial result |
- Returns
- Partial result that corresponds to the given identifier
| def setTable |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets a partial result of the implicit ALS initialization algorithm
- Parameters
-
| id | Identifier of the partial result |
| ptr | The partial result object |
The documentation for this class was generated from the following file:
- implicit_als/training/init.py