Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Member Functions | Static Public Attributes | List of all members
Distributed Class Reference

Trains the implicit ALS model in the first step of the distributed processing mode. More...

Public Member Functions

def __init__
 
def getMethod
 
def setPartialResult
 
def getPartialResult
 
def clone
 
def compute
 

Static Public Attributes

 input = ...
 
 parameter = ...
 

Detailed Description

Parameters
stepStep of the distributed processing mode, ComputeStep
fptypeData type to use in intermediate computations for the implicit ALS training algorithm in the first step of the distributed processing mode, double or float
methodImplicit 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)

Constructor & Destructor Documentation

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
otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm

Member Function Documentation

def clone (   self)

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
def compute (   self)

Invokes computations and returns partial result

def getMethod (   self)

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
partialResultStructure to store partial results of the implicit ALS training algorithm in the first step of the distributed processing mode

Member Data Documentation

input = ...
static

Input data structure

parameter = ...
static

Training parameters


The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.