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

Public Member Functions | List of all members
PartialResultBase Class Reference

Provides interface to access partial results obtained with the implicit ALS initialization algorithm in the first and second steps of the distributed processing mode. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 
def getCollection
 
def setCollection
 
def check
 
- Public Member Functions inherited from PartialResult
def __init__
 
def getSerializationTag
 
def getInitFlag
 
def setInitFlag
 
def check
 
- Public Member Functions inherited from SerializationIface
def serialize
 
def deserialize
 
def getSerializationTag
 
- Public Member Functions inherited from Base
def __init__
 
- Public Member Functions inherited from Argument
def __init__
 
def __lshift__
 
def size
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self,
  nElements = 0 
)

Constructs partial result of the implicit ALS initialization algorithm with the specified number of elements

Parameters
nElementsNumber of elements

Member Function Documentation

def check (   self,
  input,
  parameter,
  method 
)

Checks a partial result of the implicit ALS initialization algorithm

Parameters
inputInput object for the algorithm
parameterParameter of the algorithm
methodComputation method of the algorithm
def getCollection (   self,
  args 
)

Variant 1

Gets a partial result of the implicit ALS initialization algorithm

Parameters
idIdentifier 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
idIdentifier of the partial result
keyKey to use to retrieve a numeric table
Returns
Numeric table from the partial result that corresponds to the given identifier
def getSerializationTag (   self)

getSerializationTag(PartialResultBase self) -> int

def serializationTag ( )
def setCollection (   self,
  id,
  ptr 
)

Sets the partial result of the implicit ALS initialization algorithm

Parameters
idIdentifier of the partial result
ptrThe partial result object

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

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