C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 3

List of all members

Provides methods to access results obtained with the PCA algorithm. More...

Class Declaration

Member Function Documentation

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

Allocates memory for storing partial results of the PCA algorithm

Parameters
[in]inputPointer to an object containing input data
[in]parameterAlgorithm parameter
[in]methodComputation method
DAAL_EXPORT services::Status allocate ( const daal::algorithms::PartialResult *  partialResult,
daal::algorithms::Parameter *  parameter,
const Method  method 
)

Allocates memory for storing partial results of the PCA algorithm *

Parameters
[in]partialResultPointer to an object containing input data
[in]parameterParameter of the algorithm
[in]methodComputation method
services::Status check ( const daal::algorithms::Input *  _input,
const daal::algorithms::Parameter *  par,
int  method 
) const

Checks the results of the PCA algorithm

Parameters
[in]_inputInput object of algorithm
[in]parAlgorithm parameter
[in]methodComputation method
Returns
Errors detected while checking
services::Status check ( const daal::algorithms::PartialResult *  pr,
const daal::algorithms::Parameter *  parameter,
int  method 
) const

Checks the results of the PCA algorithm

Parameters
[in]prPartial results of the algorithm
[in]methodComputation method
[in]parameterAlgorithm parameter
Returns
Errors detected while checking
services::Status checkImpl ( size_t  nFeatures,
size_t  nComponents,
DAAL_UINT64  resultsToCompute 
) const
protected

Checks the results of the PCA algorithm implementation

Parameters
[in]nFeaturesNumber of features
[in]nComponentsNumber of components
[in]resultsToComputeResults to compute
Returns
Status
data_management::NumericTablePtr get ( ResultId  id) const

Gets the results of the PCA algorithm

Parameters
[in]idIdentifier of the input object
Returns
Input object that corresponds to the given identifier
data_management::KeyValueDataCollectionPtr get ( ResultCollectionId  id) const

Gets the results collection of the PCA algorithm

Parameters
[in]idIdentifier of the results collection
Returns
PCA results collection
void set ( ResultCollectionId  id,
data_management::KeyValueDataCollectionPtr &  collection 
)

Sets the results collection of the PCA algorithm only not NULL tables from collection collection will be set to result

Parameters
[in]idIdentifier of the results collection
[in]collectionPCA results collection
void set ( ResultId  id,
const data_management::NumericTablePtr &  value 
)

Sets results of the PCA algorithm

Parameters
[in]idIdentifier of the result
[in]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.