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

Public Member Functions | List of all members
Result Class Reference

Provides methods to access final results obtained with the compute() method of the EM for GMM algorithm in the batch processing mode. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 
def setResult
 
def setCovariances
 
def getResult
 
def getCovariances
 
def check
 
def allocate_{Float64|Float32}
 
- Public Member Functions inherited from Result
def __init__
 
def getSerializationTag
 
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)

Default constructor

Member Function Documentation

def allocate_{Float64|Float32} (   self,
  input,
  parameter,
  method 
)

Allocates memory for storing results of the EM for GMM algorithm

Parameters
inputPointer to the input structure
parameterPointer to the parameter structure
methodComputation method
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  input,
  par,
  method 
)

Checks the result parameter of the EM for GMM algorithm

Parameters
inputInput of the algorithm
parParameter of algorithm
methodComputation method
def getCovariances (   self,
  args 
)

Variant 1

Returns the collection of computed covariances of the EM for GMM algorithm

Parameters
idIdentifier of the collection of computed covariances
Returns
Collection of computed covariances that corresponds to the given identifier

Variant 2

Returns the covariance with a given index from the collection of computed covariances

Parameters
idIdentifier of the collection of covariances
indexIndex of the covariance to be returned
Returns
Pointer to the table with the computed covariance
def getResult (   self,
  id 
)

Returns the result of the EM for GMM algorithm

Parameters
idResult identifier
Returns
Result that corresponds to the given identifier
def getSerializationTag (   self)

getSerializationTag(Result self) -> int

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

Sets the collection of covariances for the EM for GMM algorithm

Parameters
idIdentifier of the collection of covariances
ptrPointer to the collection of covariances
def setResult (   self,
  id,
  ptr 
)

Sets the result of the EM for GMM algorithm

Parameters
idResult identifier
ptrPointer to the numeric table with the result

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

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