Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2
Provides methods for k nearest neighbors model-based training in the batch processing mode. More...
TrainingBatch | ( | DaalContext | context, |
TrainingBatch | other | ||
) |
Constructs a k nearest neighbors training algorithm by copying input objects and parameters of another k nearest neighbors training algorithm in the batch processing mode
context | Context to manage k nearest neighbors model-based training |
other | Algorithm to use as the source to initialize the input objects and parameters of the algorithm |
TrainingBatch | ( | DaalContext | context, |
Class<? extends Number > | cls, | ||
TrainingMethod | method | ||
) |
Constructs the k nearest neighbors training algorithm in the batch processing mode
context | Context to manage k nearest neighbors model-based training |
cls | Data type to use in intermediate computations of k nearest neighbors, Double.class or Float.class |
method | Algorithm computation method, TrainingMethod |
TrainingBatch clone | ( | DaalContext | context | ) |
Returns a newly allocated k nearest neighbors training algorithm with a copy of the input objects and parameters of this k nearest neighbors training algorithm in the batch processing mode
context | Context to manage k nearest neighbors model-based training |
TrainingResult compute | ( | ) |
Computes the result of k nearest neighbors model-based training in the batch processing mode
TrainingMethod method |
Training method for the algorithm
Parameter parameter |
Parameters of the algorithm
For more complete information about compiler optimizations, see our Optimization Notice.