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 getPartialModel |
( |
|
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 getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(PartialResult self) -> int
def getTablesCollection |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Gets a KeyValueDataCollection partial result of the implicit ALS initialization algorithm
- Parameters
-
id | Identifier of the partial result |
- Returns
- Partial result that corresponds to the given identifier
- Variant 2
Gets a numeric table object from a partial result of the implicit ALS initialization algorithm
- Parameters
-
id | Identifier of the partial result |
key | Key to use to retrieve a numeric table |
- Returns
- Numeric table from the partial result that corresponds to the given identifier
def setPartialModel |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets a partial result of the implicit ALS initialization algorithm
- Parameters
-
id | Identifier of the partial result |
ptr | Pointer to the partial result |
def setTablesCollection |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets the KeyValueDataCollection 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