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

List of all members

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

Class Constructor

◆ TrainingBatch() [1/2]

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

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

◆ clone()

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

◆ compute()

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

◆ method

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