Trains the implicit ALS model in the first step of the distributed processing mode.
More...
- Parameters
-
step | Step of the distributed processing mode, ComputeStep |
fptype | Data type to use in intermediate computations for the implicit ALS training algorithm in the first step of the distributed processing mode, double or float |
method | Implicit ALS training method, Method |
- Enumerations
- Method Training methods of the implicit ALS algorithm in the first step of the distributed processing mode
- References
- DistributedInput<step1Local> class
- Aliases
Distributed_Step1LocalFloat64FastCSR
is an alias of Distributed(step=daal.step1Local, fptype=float64, method=daal.algorithms.implicit_als.training.fastCSR)
Distributed_Step1LocalFloat32FastCSR
is an alias of Distributed(step=daal.step1Local, fptype=float32, method=daal.algorithms.implicit_als.training.fastCSR)
Distributed_Step2MasterFloat64FastCSR
is an alias of Distributed(step=daal.step2Master, fptype=float64, method=daal.algorithms.implicit_als.training.fastCSR)
Distributed_Step2MasterFloat32FastCSR
is an alias of Distributed(step=daal.step2Master, fptype=float32, method=daal.algorithms.implicit_als.training.fastCSR)
Distributed_Step3LocalFloat64FastCSR
is an alias of Distributed(step=daal.step3Local, fptype=float64, method=daal.algorithms.implicit_als.training.fastCSR)
Distributed_Step3LocalFloat32FastCSR
is an alias of Distributed(step=daal.step3Local, fptype=float32, method=daal.algorithms.implicit_als.training.fastCSR)
Distributed_Step4LocalFloat64FastCSR
is an alias of Distributed(step=daal.step4Local, fptype=float64, method=daal.algorithms.implicit_als.training.fastCSR)
Distributed_Step4LocalFloat32FastCSR
is an alias of Distributed(step=daal.step4Local, fptype=float32, method=daal.algorithms.implicit_als.training.fastCSR)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
- Default constructor
- Variant 2
Constructs an implicit ALS training algorithm by copying input objects and parameters of another implicit ALS training algorithm
- 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 ALS training algorithm with a copy of input objects and parameters of this ALS training algorithm
- 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 training algorithm in the first step of the distributed processing mode
- Returns
- Structure that contains partial results of the implicit ALS training algorithm in the first step of the distributed processing mode
def setPartialResult |
( |
|
self, |
|
|
|
partialResult |
|
) |
| |
Registers user-allocated memory to store partial results of the implicit ALS training algorithm in the first step of the distributed processing mode
- Parameters
-
partialResult | Structure to store partial results of the implicit ALS training algorithm in the first step of the distributed processing mode |
The documentation for this class was generated from the following file:
- algorithms/implicit_als/training/__init__.py