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

Public Member Functions | List of all members
DistributedStep2MasterInput Class Reference

Input objects for K-Means algorithm in the distributed processing mode More...

Public Member Functions

def __init__
 
def get
 
def set
 
def add
 
def getNumberOfFeatures
 
def check
 
- Public Member Functions inherited from InputIface
def getNumberOfFeatures
 
- Public Member Functions inherited from Input
def __init__
 
def check
 
- Public Member Functions inherited from Argument
def __init__
 
def __lshift__
 
def size
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def add (   self,
  id,
  value 
)

Adds partial results computed on local nodes to the input for K-Means algorithm in the second step of the distributed processing mode

Parameters
idIdentifier of the input object
valuePointer to the object
def check (   self,
  par,
  method 
)

Checks an input object for K-Means algorithm in the second step of the distributed processing mode

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

Returns an input object for K-Means algorithm in the second step of the distributed processing mode

Parameters
idIdentifier of the input object
Returns
Input object that corresponds to the given identifier
def getNumberOfFeatures (   self)

Returns the number of features in the Input data table in the second step of the distributed processing mode

Returns
Number of features in the Input data table
def set (   self,
  id,
  ptr 
)

Sets an input object for K-Means algorithm in the second step of the distributed processing mode

Parameters
idIdentifier of the input object
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.