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

Public Member Functions | List of all members
Result Class Reference

Provides methods to access final results obtained with the compute() method of the naive Bayes training algorithm in the batch processing mode or with the finalizeCompute() method in the distributed or online processing mode. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 
def get
 
def check
 
def allocate_{Float64|Float32}
 
- Public Member Functions inherited from Result
def serializationTag
 
def getSerializationTag
 
def __init__
 
def get
 
def set
 
def check
 
- Public Member Functions inherited from Result
def __init__
 
def getSerializationTag
 
def check
 
- Public Member Functions inherited from SerializationIface
def serialize
 
def deserialize
 
def getSerializationTag
 
- Public Member Functions inherited from Base
def __init__
 
- Public Member Functions inherited from Argument
def __init__
 
def __lshift__
 
def size
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def allocate_{Float64|Float32} (   self,
  args 
)

Variant 1

Allocates memory for storing final result computed with naive Bayes training algorithm

Parameters
inputPointer to input object
parameterPointer to parameter
methodComputation method
Returns
Status of computations

Variant 2

Allocates memory for storing final result computed with naive Bayes training algorithm

Parameters
partialResultPointer to partial result structure
parameterPointer to parameter structure
methodComputation method
Returns
Status of computations
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  args 
)

Variant 1

Checks the correctness of Result object

Parameters
partialResultPointer to the partial results structure
parameterParameter of the algorithm
methodComputation method
Returns
Status of computations

Variant 2

Checks the final result of the naive Bayes training algorithm

Parameters
inputInput of algorithm
parameterParameter of algorithm
methodComputation method
Returns
Status of computations
def get (   self,
  id 
)

Returns the model trained with the naive Bayes training algorithm

Parameters
idIdentifier of the result, classifier.training.ResultId
Returns
Model trained with the classification algorithm
def getSerializationTag (   self)

getSerializationTag(Result self) -> int

def serializationTag ( )

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

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