Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 4

List of all members

Provides methods for k nearest neighbors model-based training in the batch processing mode. More...

Class Constructor

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

Parameters
contextContext to manage k nearest neighbors model-based training
otherAlgorithm 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

Parameters
contextContext to manage k nearest neighbors model-based training
clsData type to use in intermediate computations of k nearest neighbors, Double.class or Float.class
methodAlgorithm computation method, TrainingMethod

Detailed Description

Member Function Documentation

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

Parameters
contextContext to manage k nearest neighbors model-based training
Returns
Newly allocated algorithm
TrainingResult compute ( )

Computes the result of k nearest neighbors model-based training in the batch processing mode

Returns
Result of k nearest neighbors model-based training

Member Data Documentation

Training 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.