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 partial results obtained with the compute() method of PCA SVD algorithm in the online or distributed processing mode. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 
def getSVDTable
 
def getNFeatures
 
def getSVDCollection
 
def setSVDTable
 
def setSVDCollection
 
def add
 
def check
 
def initialize_Float32
 
def initialize_Float64
 
def allocate_Float32
 
def allocate_Float64
 
- Public Member Functions inherited from PartialResultBase
def getNFeatures
 
- 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

Aliases
  • PartialResult_SvdDense is an alias of PartialResult(method=daal.algorithms.pca.svdDense)
  • PartialResult_CorrelationDense is an alias of PartialResult(method=daal.algorithms.pca.correlationDense)

Constructor & Destructor Documentation

def __init__ (   self)

__init__(daal.algorithms.pca.PartialResult<(daal.algorithms.pca.svdDense)> self) -> PartialResult

Member Function Documentation

def add (   self,
  id,
  value 
)

Adds partial result of the PCA SVD algorithm

Parameters
idIdentifier of the argument
valuePointer to the object
def allocate_Float32 (   self,
  input,
  parameter,
  method 
)

Allocates memory to store partial results of the PCA SVD algorithm

Parameters
inputPointer to an object containing input data
parameterPointer to the structure of algorithm parameters
methodComputation method
Returns
Status of allocation
def allocate_Float64 (   self,
  input,
  parameter,
  method 
)

Allocates memory to store partial results of the PCA SVD algorithm

Parameters
inputPointer to an object containing input data
parameterPointer to the structure of algorithm parameters
methodComputation method
Returns
Status of allocation
def check (   self,
  args 
)

Variant 1

Checks partial results of the PCA SVD algorithm

Parameters
inputInput of algorithm
parameterParameter of algorithm
methodComputation method
Returns
Errors detected while checking

Variant 2

Checks partial results of the PCA SVD algorithm

Parameters
methodComputation method
parParameter of algorithm
Returns
Errors detected while checking
def getNFeatures (   self)

getNFeatures(PartialResult self) -> size_t

def getSerializationTag (   self)

getSerializationTag(PartialResult self) -> int

def getSVDCollection (   self,
  args 
)

Variant 1

Gets partial results of the PCA SVD algorithm

Parameters
idIdentifier of the input object
Returns
Input object that corresponds to the given identifier

Variant 2

Gets partial results of the PCA SVD algorithm

Parameters
idIdentifier of the input object
elementIdIdentifier of the collection element
Returns
Input object that corresponds to the given identifier
def getSVDTable (   self,
  id 
)

Gets partial results of the PCA SVD algorithm

Parameters
idIdentifier of the input object
Returns
Input object that corresponds to the given identifier
def initialize_Float32 (   self,
  input,
  parameter,
  method 
)

Initializes memory to store partial results of the PCA SVD algorithm

Parameters
inputPointer to an object containing input data
parameterPointer to the structure of algorithm parameters
methodComputation method
Returns
Status of initialization
def initialize_Float64 (   self,
  input,
  parameter,
  method 
)

Initializes memory to store partial results of the PCA SVD algorithm

Parameters
inputPointer to an object containing input data
parameterPointer to the structure of algorithm parameters
methodComputation method
Returns
Status of initialization
def serializationTag ( )
def setSVDCollection (   self,
  id,
  value 
)

Sets partial result of the PCA SVD algorithm

Parameters
idIdentifier of the result
valuePointer to the object
def setSVDTable (   self,
  id,
  value 
)

Sets partial result of the PCA SVD algorithm

Parameters
idIdentifier of the result
valuePointer to the object

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

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