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

List of all members
DistributedStep3MasterPlusPlusPartialResult Class Reference

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

Class Declaration

Member Function Documentation

void add ( DistributedStep3MasterPlusPlusPartialResultId  id,
size_t  key,
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]keyIdentifier of the node this partial result comes from
[in]ptrPointer to the object
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::KeyValueDataCollectionPtr get ( DistributedStep3MasterPlusPlusPartialResultId  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::NumericTablePtr get ( DistributedStep3MasterPlusPlusPartialResultId  id,
size_t  key 
) const

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

Parameters
[in]idIdentifier of the partial result
[in]keyIdentifier of the node this partial result comes from
Returns
Partial result that corresponds to the given identifier
data_management::SerializationIfacePtr get ( DistributedStep3MasterPlusPlusPartialResultDataId  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

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

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