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

List of all members

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

Class Constructor

◆ PredictionBatch() [1/2]

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() [2/2]

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

◆ clone()

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

Input data

◆ method

Prediction method for the algorithm

◆ parameter

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.