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

List of all members
PartialResult Class Reference

Partial results obtained with the compute() method of K-Means algorithm in the batch 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 ( PartialResultId  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
size_t getNumberOfFeatures ( ) const

Returns the number of features in the result table of K-Means algorithm

Returns
Number of features in the result table of K-Means algorithm
void set ( PartialResultId  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

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

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