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

Public Member Functions | List of all members
DistributedStep3MasterPlusPlusInput Class Reference

Interface for K-Means distributed Input classes used with plusPlus and parallelPlus methods only on the 3rd step on a master node. More...

Public Member Functions

def __init__
 
def get
 
def set
 
def add
 
def check
 
- 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,
  args 
)

Member Function Documentation

def add (   self,
  id,
  key,
  ptr 
)

Add an input object for computing initial centroids for K-Means algorithm

Parameters
idIdentifier of the input object
keyIdentifier of the node this object comes from
ptrPointer to the input object
def check (   self,
  par,
  method 
)

Checks an input object for computing initial centroids for K-Means algorithm

Parameters
parInput object
methodMethod of the algorithm
def get (   self,
  id 
)

Returns input objects for computing initial centroids for K-Means algorithm

Parameters
idIdentifier of the input object
Returns
Input object that corresponds to the given identifier
def set (   self,
  id,
  ptr 
)

Sets an input object for computing initial centroids for K-Means algorithm

Parameters
idIdentifier of the input object
ptrPointer to the input object

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

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