C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1
Provides methods to access the result obtained with the compute() method of KD-tree based kNN model-based training. More...
DAAL_EXPORT services::Status allocate | ( | const daal::algorithms::Input * | input, |
const Parameter * | parameter, | ||
int | method | ||
) |
Allocates memory to store the result of KD-tree based kNN model-based training
[in] | input | Pointer to an object containing the input data |
[in] | parameter | Parameter of KD-tree based kNN model-based training |
[in] | method | Computation method for the algorithm |
DAAL_EXPORT services::Status allocate | ( | const daal::algorithms::Input * | input, |
const kdtree_knn_classification::interface1::Parameter * | parameter, | ||
int | method | ||
) |
Allocates memory to store the result of KD-tree based kNN model-based training
[in] | input | Pointer to an object containing the input data |
[in] | parameter | Parameter of KD-tree based kNN model-based training |
[in] | method | Computation method for the algorithm |
daal::algorithms::kdtree_knn_classification::interface1::ModelPtr get | ( | classifier::training::ResultId | id | ) | const |
Returns the result of KD-tree based kNN model-based training
[in] | id | Identifier of the result |
For more complete information about compiler optimizations, see our Optimization Notice.