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

Public Member Functions | List of all members
DistributedInput Class Reference

Input objects of the naive Bayes training algorithm in the distributed processing mode. More...

Public Member Functions

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

Member Function Documentation

def add (   self,
  id,
  partialResult 
)

Adds input object on the master node in the training stage of the classification algorithm

Parameters
idIdentifier of the input object
partialResultPointer to the object
def check (   self,
  parameter,
  method 
)

Checks input parameters in the training stage of the classification algorithm

Parameters
parameterParameter of the algorithm
methodAlgorithm method
def get (   self,
  id 
)

Returns input objects of the classification algorithm in the distributed processing mode

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

getNumberOfFeatures(DistributedInput self) -> size_t

def set (   self,
  id,
  value 
)

Sets input object in the training stage of the classification algorithm

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