Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 3

List of all members

Runs k nearest neighbors model based prediction algorithm. More...

Class Constructor

PredictionBatch ( DaalContext  context,
PredictionBatch  other 
)

Constructs k nearest neighbors prediction algorithm by copying input objects and parameters of another k nearest neighbors prediction algorithm

Parameters
contextContext to manage the k nearest neighbors prediction algorithm
otherAn 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

Parameters
contextContext to manage the k nearest neighbors prediction algorithm
clsData type to use in intermediate computations of the k nearest neighbors prediction algorithm, Double.class or Float.class
methodK nearest neighbors prediction method, PredictionMethod

Detailed Description

References

Member Function Documentation

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

Parameters
contextContext to manage the k nearest neighbors prediction algorithm
Returns
The newly allocated algorithm

Member Data Documentation

Input data

Prediction method for the algorithm

Parameter parameter

Parameters of the algorithm


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

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