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

List of all members
DistributedStep2LocalPlusPlusPartialResult Class Reference

Partial results obtained with the compute() method of K-Means algorithm in the distributed processing mode. More...

Class Declaration

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 computing initial centroids for K-Means algorithm

Parameters
[in]inputPointer to the input structure
[in]parameterPointer to the parameter structure
[in]methodComputation method of the algorithm
services::Status check ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  par,
int  method 
) const

Checks a partial result of computing initial centroids for K-Means algorithm

Parameters
[in]inputInput object for the algorithm
[in]parParameter of the algorithm
[in]methodComputation method of the algorithm
services::Status check ( const daal::algorithms::Parameter *  par,
int  method 
) const

Checks a partial result of computing initial centroids for K-Means algorithm

Parameters
[in]parParameter of the algorithm
[in]methodComputation method of the algorithm
data_management::NumericTablePtr get ( DistributedStep2LocalPlusPlusPartialResultId  id) const

Returns a partial result of computing initial centroids for K-Means algorithm

Parameters
[in]idIdentifier of the partial result
Returns
Partial result that corresponds to the given identifier
data_management::DataCollectionPtr get ( DistributedStep2LocalPlusPlusPartialResultDataId  id) const

Returns a partial result of computing initial centroids for K-Means algorithm

Parameters
[in]idIdentifier of the partial result
Returns
Partial result that corresponds to the given identifier
void initialize ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  par,
int  method 
)

Initializes the partial result data

Parameters
[in]inputInput object for the algorithm
[in]parParameter of the algorithm
[in]methodComputation method of the algorithm
void set ( DistributedStep2LocalPlusPlusPartialResultId  id,
const data_management::NumericTablePtr &  ptr 
)

Sets a partial result of computing initial centroids for K-Means algorithm

Parameters
[in]idIdentifier of the partial result
[in]ptrPointer to the object
void set ( DistributedStep2LocalPlusPlusPartialResultDataId  id,
const data_management::DataCollectionPtr &  ptr 
)

Sets a partial result of computing initial centroids for K-Means algorithm

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