Provides methods to access partial results obtained with the compute() method of the implicit ALS algorithm in the the fourth step of the distributed processing mode.
More...
| def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory to store a partial result of the implicit ALS training algorithm
- Parameters
-
| input | Pointer to the input object |
| parameter | Pointer to the parameter |
| method | Algorithm computation method |
- 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 training algorithm
- Parameters
-
| input | Pointer to the structure of input objects |
| parameter | Pointer to the structure of algorithm parameters |
| method | Computation method |
Returns a partial result of the implicit ALS training algorithm
- Parameters
-
| id | Identifier of the partial result |
- Returns
- Value that corresponds to the given identifier
| def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(DistributedPartialResultStep4 self) -> int
| def set |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets a partial result of the implicit ALS training algorithm
- Parameters
-
| id | Identifier of the partial result |
| ptr | Pointer to the partial result |
The documentation for this class was generated from the following file:
- algorithms/implicit_als/training/__init__.py