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

Public Member Functions | List of all members
Distributed Class Reference

Algorithm class for training Naive Bayes partial model in the distributed processing mode. More...

Public Member Functions

def __init__
 
def clone
 
def compute
 
def finalizeCompute
 
- Public Member Functions inherited from Online
def __init__
 
def getMethod
 
def getResult
 
def setResult
 
def resetResult
 
def getPartialResult
 
def clone
 
def compute
 
def finalizeCompute
 
- Public Member Functions inherited from Online
def setPartialResult
 
def setResult
 
def getPartialResult
 
def getResult
 
def clone
 
def compute
 
def finalizeCompute
 

Additional Inherited Members

- Static Public Attributes inherited from Online
 parameter = ...
 
- Static Public Attributes inherited from Online
 input = ...
 

Detailed Description

Deprecated:
This item will be removed in a future release.
Parameters
fptypeData type to use in intermediate computations for the multinomial naive Bayes training on the first step in distributed processing mode, double or float
methodNaive Bayes training method, Method
Enumerations
  • Method Training methods for the multinomial naive Bayes on the first step in the distributed processing mode
Aliases
  • Distributed_Step1LocalFloat64DefaultDense is an alias of Distributed(step=daal.step1Local, fptype=float64, method=daal.algorithms.multinomial_naive_bayes.training.defaultDense)
  • Distributed_Step1LocalFloat64FastCSR is an alias of Distributed(step=daal.step1Local, fptype=float64, method=daal.algorithms.multinomial_naive_bayes.training.fastCSR)
  • Distributed_Step1LocalFloat32DefaultDense is an alias of Distributed(step=daal.step1Local, fptype=float32, method=daal.algorithms.multinomial_naive_bayes.training.defaultDense)
  • Distributed_Step1LocalFloat32FastCSR is an alias of Distributed(step=daal.step1Local, fptype=float32, method=daal.algorithms.multinomial_naive_bayes.training.fastCSR)
  • Distributed_Step2MasterFloat64DefaultDense is an alias of Distributed(step=daal.step2Master, fptype=float64, method=daal.algorithms.multinomial_naive_bayes.training.defaultDense)
  • Distributed_Step2MasterFloat64FastCSR is an alias of Distributed(step=daal.step2Master, fptype=float64, method=daal.algorithms.multinomial_naive_bayes.training.fastCSR)
  • Distributed_Step2MasterFloat32DefaultDense is an alias of Distributed(step=daal.step2Master, fptype=float32, method=daal.algorithms.multinomial_naive_bayes.training.defaultDense)
  • Distributed_Step2MasterFloat32FastCSR is an alias of Distributed(step=daal.step2Master, fptype=float32, method=daal.algorithms.multinomial_naive_bayes.training.fastCSR)

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1

Default constructor

Parameters
nClassesNumber of classes

Variant 2

Constructs multinomial naive Bayes training algorithm by copying input objects and parameters of another multinomial naive Bayes training algorithm

Parameters
otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm

Member Function Documentation

def clone (   self)

Returns a pointer to the newly allocated multinomial naive Bayes training algorithm with a copy of input objects and parameters of this multinomial naive Bayes training algorithm

Returns
Pointer to the newly allocated algorithm
def compute (   self)

Invokes computations and returns partial result

def finalizeCompute (   self)

Finalizes computations and returns (final) result


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

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