C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
DistributedPartialResult Class Reference

Provides methods to access partial results obtained with the compute() method of the SVD algorithm in the second step in the distributed processing mode. More...

Class Declaration

Constructor & Destructor Documentation

Default constructor

virtual ~DistributedPartialResult ( )
inlinevirtual

Default destructor

Member Function Documentation

DAAL_EXPORT services::Status allocate ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  parameter,
const int  method 
)

Allocates memory to store partial results of the SVD algorithm

Returns
Status of allocation
services::Status check ( const daal::algorithms::Parameter *  parameter,
int  method 
) const

Checks partial results of the algorithm

Parameters
[in]parameterPointer to parameters
[in]methodComputation method
Returns
Errors detected while checking
services::Status check ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  parameter,
int  method 
) const

Checks final results of the algorithm

Parameters
[in]inputPointer to input objects
[in]parameterPointer to parameters
[in]methodComputation method
Returns
Errors detected while checking
data_management::KeyValueDataCollectionPtr get ( DistributedPartialResultCollectionId  id) const

Returns partial results of the SVD algorithm. KeyValueDataCollection under outputOfStep2ForStep3 id is structured the same as KeyValueDataCollection under inputOfStep2FromStep1 id of the algorithm input

Parameters
[in]idIdentifier of the partial result
Returns
Value that corresponds to the given identifier
data_management::DataCollectionPtr get ( DistributedPartialResultCollectionId  id,
size_t  idx 
) const

Returns the DataCollection from outputOfStep2ForStep3 results of the SVD algorithm.

Parameters
[in]idIdentifier of the partial result
[in]idxIndex of the DataCollection within KeyValueDataCollcetion of the partial result
Returns
Value that corresponds to the given identifier and index
ResultPtr get ( DistributedPartialResultId  id) const

Returns results of the SVD algorithm with singular values and the left orthogonal matrix calculated

Parameters
[in]idIdentifier of the parameter
Returns
Parameter that corresponds to the given identifier
void set ( DistributedPartialResultCollectionId  id,
const data_management::KeyValueDataCollectionPtr &  value 
)

Sets KeyValueDataCollection to store partial results of the SVD algorithm

Parameters
[in]idIdentifier of the partial result
[in]valueValue that corresponds to the given identifier
void set ( DistributedPartialResultId  id,
const ResultPtr &  value 
)

Sets the Result object to store results of the SVD algorithm

Parameters
[in]idIdentifier of the parameter
[in]valuePointer to the Result object
DAAL_EXPORT services::Status setPartialResultStorage ( data_management::KeyValueDataCollection *  inCollection,
size_t &  nBlocks 
)

Allocates memory to store partial results of the SVD algorithm based on the known structure of partial results from step 1 in the distributed processing mode. KeyValueDataCollection under outputOfStep2ForStep3 id is structured the same as KeyValueDataCollection under inputOfStep2FromStep1 id of the algorithm input

Template Parameters
algorithmFPTypeData type to use for storage in the resulting HomogenNumericTable
Parameters
[in]inCollectionKeyValueDataCollection of all partial results from the first step of the SVD algorithm in the distributed processing mode
[out]nBlocksNumber of rows in the input data set

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

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