Initializes the implicit ALS model in the first step of the distributed processing mode.
More...
- Parameters
-
fptype | Data type to use in intermediate computations for the implicit ALS initialization algorithm in the distributed processing mode, double or float |
method | Implicit ALS initialization method, Method |
- Enumerations
- Method Initialization methods of the implicit ALS algorithm in the first step of the distributed processing mode
- Aliases
Distributed_Step1LocalFloat64FastCSR
is an alias of Distributed(step=daal.step1Local, fptype=float64, method=daal.algorithms.implicit_als.training.init.fastCSR)
Distributed_Step1LocalFloat32FastCSR
is an alias of Distributed(step=daal.step1Local, fptype=float32, method=daal.algorithms.implicit_als.training.init.fastCSR)
Distributed_Step2LocalFloat64FastCSR
is an alias of Distributed(step=daal.step2Local, fptype=float64, method=daal.algorithms.implicit_als.training.init.fastCSR)
Distributed_Step2LocalFloat32FastCSR
is an alias of Distributed(step=daal.step2Local, fptype=float32, method=daal.algorithms.implicit_als.training.init.fastCSR)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
- Default constructor
- Variant 2
Constructs an algorithm for initializing the implicit ALS model by copying input objects and parameters of another algorithm for initializing the implicit ALS model
- Parameters
-
other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
Returns a pointer to the newly allocated algorithm for initializing the implicit ALS model with a copy of input objects and parameters of this algorithm for initializing the implicit ALS model
- Returns
- Pointer to the newly allocated algorithm
Invokes computations and returns partial result
Returns the method of the algorithm
- Returns
- Method of the algorithm
def getPartialResult |
( |
|
self | ) |
|
Returns the structure that contains partial results of the implicit ALS initialization algorithm
- Returns
- Structure that contains partial results of the implicit ALS initialization algorithm
def setPartialResult |
( |
|
self, |
|
|
|
partialResult |
|
) |
| |
Registers user-allocated memory to store partial results of the implicit ALS initialization algorithm
- Parameters
-
partialResult | Structure to store partial results of the implicit ALS initialization algorithm |
Parameters of the implicit ALS initialization algorithm
The documentation for this class was generated from the following file:
- implicit_als/training/init.py