Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5
Runs k nearest neighbors model based prediction algorithm. More...
| PredictionBatch | ( | DaalContext | context, |
| PredictionBatch | other | ||
| ) |
Constructs k nearest neighbors prediction algorithm by copying input objects and parameters of another k nearest neighbors prediction algorithm
| context | Context to manage the k nearest neighbors prediction algorithm |
| other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
| PredictionBatch | ( | DaalContext | context, |
| Class<?extends Number > | cls, | ||
| PredictionMethod | method | ||
| ) |
Constructs k nearest neighbors prediction algorithm
| context | Context to manage the k nearest neighbors prediction algorithm |
| cls | Data type to use in intermediate computations of the k nearest neighbors prediction algorithm, Double.class or Float.class |
| method | K nearest neighbors prediction method, PredictionMethod |
| PredictionBatch clone | ( | DaalContext | context | ) |
Returns the newly allocated k nearest neighbors prediction algorithm with a copy of input objects and parameters of this k nearest neighbors prediction algorithm
| context | Context to manage the k nearest neighbors prediction algorithm |
| PredictionInput input |
Input data
| PredictionMethod method |
Prediction method for the algorithm
| Parameter parameter |
Parameters of the algorithm
For more complete information about compiler optimizations, see our Optimization Notice.