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

Public Member Functions | List of all members
interface2_Result Class Reference

Provides methods to access prediction results obtained with the compute() method of the classifier prediction algorithm in the batch processing mode. More...

Public Member Functions

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 check (   self,
  input,
  parameter,
  method 
)

Checks the correctness of the Result object

Parameters
inputPointer to the the input object
parameterPointer to the algorithm parameters
methodComputation method
def get (   self,
  id 
)

Returns the prediction result of the classification algorithm

Parameters
idIdentifier of the prediction result, ResultId
Returns
Prediction result that corresponds to the given identifier
def getSerializationTag (   self)

getSerializationTag(interface2_Result self) -> int

def serializationTag ( )
def set (   self,
  id,
  value 
)

Sets the prediction result of the classification algorithm

Parameters
idIdentifier of the prediction result, ResultId
valuePointer to the prediction result

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

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