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

Public Member Functions | List of all members
Batch Class Reference

Base class for making predictions based on the model of the classification algorithms. More...

Public Member Functions

def getInput
 
def getResult
 
def setResult
 
def clone
 
def compute
 
- Public Member Functions inherited from AlgorithmImpl
def computeNoThrow
 
def compute
 
def checkComputeParams
 
def checkResult
 
def setupCompute
 
def resetCompute
 
def enableResetOnCompute
 
def hostApp
 
def setHostApp
 
- Public Member Functions inherited from Algorithm
def checkComputeParams
 
def getBaseParameter
 
- Public Member Functions inherited from AlgorithmIfaceImpl
def enableChecks
 
def isChecksEnabled
 
- Public Member Functions inherited from AlgorithmIface
def checkComputeParams
 
def checkResult
 
def getMethod
 

Detailed Description

Deprecated:
This item will be removed in a future release.
Enumerations
  • classifier.prediction.NumericTableInputId Identifiers of input NumericTable objects of the classifier prediction algorithm
  • classifier.prediction.ModelInputId Identifiers of input Model objects of the classifier prediction algorithm
  • classifier.prediction.ResultId Identifiers of prediction results of the classifier algorithm
References

Member Function Documentation

def clone (   self)

Returns a pointer to the newly allocated classifier prediction algorithm with a copy of input objects and parameters of this classifier prediction algorithm

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

Invokes computations

def getInput (   self)

Get input objects for the classifier prediction algorithm

Returns
Input objects for the classifier prediction algorithm
def getResult (   self)

Returns the structure that contains computed prediction results

Returns
Structure that contains computed prediction results
def setResult (   self,
  result 
)

Registers user-allocated memory for storing the prediction results

Parameters
resultStructure for storing the prediction results
Returns
Status of computation

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

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