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

Public Member Functions | List of all members
DistributedStep5MasterPlusPlusInput Class Reference

Interface for K-Means distributed Input classes. More...

Public Member Functions

def __init__
 
def getInput
 
def setInput
 
def add
 
def getStepInput
 
def setStepInput
 
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,
  value 
)

Adds a value to the data collection of input objects for computing initial centroids for K-Means algorithm in the 5th step of the distributed processing mode

Parameters
idIdentifier of the parameter
valuePointer to the new parameter value
def check (   self,
  par,
  method 
)

Checks an input object for computing initial centroids for K-Means algorithm in the 5th step of the distributed processing mode

Parameters
parParameter of the algorithm
methodComputation method of the algorithm
def getInput (   self,
  id 
)

Returns an input object for computing initial centroids for K-Means algorithm in the 5th step of the distributed processing mode

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

Returns an input object for computing initial centroids for K-Means algorithm in the 5th step of the distributed processing mode

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

Sets an input object for computing initial centroids for K-Means algorithm in the 5th step of the distributed processing mode

Parameters
idIdentifier of the input object
ptrPointer to the object
def setStepInput (   self,
  id,
  ptr 
)

Sets an input object for computing initial centroids for K-Means algorithm in the 5th 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.