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

List of all members
Result Class Reference

Results obtained with the compute() method that computes initial centroids for 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 the 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
DAAL_EXPORT services::Status allocate ( const daal::algorithms::PartialResult *  partialResult,
const daal::algorithms::Parameter *  parameter,
const int  method 
)

Allocates memory to store the results of computing initial centroids for K-Means algorithm

Parameters
[in]partialResultPointer to the partial result 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 the 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::PartialResult *  pres,
const daal::algorithms::Parameter *  par,
int  method 
) const

Checks the result of computing initial centroids for K-Means algorithm

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

Returns the result of computing initial centroids for K-Means algorithm

Parameters
[in]idIdentifier of the result
Returns
Result that corresponds to the given identifier
void set ( ResultId  id,
const data_management::NumericTablePtr &  ptr 
)

Sets the result of computing initial centroids for K-Means algorithm

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