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 computing initials clusters for K-Means algorithm in the second step of 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 a value to the data collection of input objects for computing initial centroids for K-Means algorithm in the second 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 second step of the distributed processing mode

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

Returns an input object for computing initial centroids 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 computing initial centroids 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.