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

Public Member Functions | List of all members
PartialResult Class Reference

Provides methods to access a partial result obtained with the compute() method of linear regression model-based training in the online or distributed processing mode. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 
def get
 
def getNumberOfFeatures
 
def getNumberOfDependentVariables
 
def set
 
def check
 
def allocate_{Float64|Float32}
 
def initialize_{Float64|Float32}
 
- Public Member Functions inherited from PartialResult
def __init__
 
- Public Member Functions inherited from PartialResult
def __init__
 
- Public Member Functions inherited from PartialResult
def __init__
 
def getSerializationTag
 
def getInitFlag
 
def setInitFlag
 
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,
  input,
  parameter,
  method 
)

Allocates memory to store a partial result of linear regression model-based training

Parameters
inputInput object for the algorithm
methodMethod of linear regression model-based training
parameterParameter of linear regression model-based training
Returns
Status of computations
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  args 
)

Variant 1

Checks a partial result of the linear regression algorithm

Parameters
inputInput object for the algorithm
parParameter of the algorithm
methodComputation method
Returns
Status of computations

Variant 2

Checks a partial result of the linear regression algorithm

Parameters
parParameter of the algorithm
methodComputation method
Returns
Status of computations
def get (   self,
  id 
)

Returns a partial result of linear regression model-based training

Parameters
idIdentifier of the partial result
Returns
Partial result that corresponds to the given identifier
def getNumberOfDependentVariables (   self)

Returns the number of dependent variables

Returns
Number of dependent variables
def getNumberOfFeatures (   self)

Returns the number of columns in the input data set

Returns
Number of columns in the input data set
def getSerializationTag (   self)

getSerializationTag(PartialResult self) -> int

def initialize_{Float64|Float32} (   self,
  input,
  parameter,
  method 
)

Initializes memory to store a partial result of linear regression model-based training

Parameters
inputInput object for the algorithm
methodMethod of linear regression model-based training
parameterParameter of linear regression model-based training
Returns
Status of initialization
Full Names
  • initialize_Float64 is for float64
  • initialize_Float32 is for float32
def serializationTag ( )
def set (   self,
  id,
  value 
)

Sets an argument of the partial result

Parameters
idIdentifier of the argument
valuePointer to the argument

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

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