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

Initializes 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
fptypeData type to use in intermediate computations for the implicit ALS initialization algorithm in the distributed processing mode, double or float
methodImplicit 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)

Constructor & Destructor Documentation

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
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 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
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 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
partialResultStructure to store partial results of the implicit ALS initialization algorithm

Member Data Documentation

input = ...
static

Input data structure

parameter = ...
static

Parameters of the implicit ALS initialization algorithm


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

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