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

Public Member Functions | List of all members
PartialResult Class Reference

Partial results obtained with the compute() method of K-Means algorithm in the batch processing mode. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 
def get
 
def set
 
def getNumberOfFeatures
 
def check
 
def allocate_{Float64|Float32}
 
- 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)

Member Function Documentation

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

Allocates memory to store partial results of K-Means algorithm

Parameters
inputPointer to the structure of the input objects
parameterPointer to the structure of the algorithm parameters
methodComputation method of the algorithm
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  args 
)

Variant 1

Checks partial results of K-Means algorithm

Parameters
inputInput object of the algorithm
parAlgorithm parameter
methodComputation method

Variant 2

Checks partial results of K-Means algorithm

Parameters
parAlgorithm parameter
methodComputation method
def get (   self,
  id 
)

Returns a partial result of K-Means algorithm

Parameters
idIdentifier of the partial result
Returns
Partial result that corresponds to the given identifier
def getNumberOfFeatures (   self)

Returns the number of features in the Input data table

Returns
Number of features in the Input data table
def getSerializationTag (   self)

getSerializationTag(PartialResult self) -> int

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

Sets a partial result of K-Means algorithm

Parameters
idIdentifier of the partial result
ptrPointer to the object

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

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