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

List of all members
Parameter Class Reference

k nearest neighbors algorithm parameters More...

Detailed Description

Member Function Documentation

◆ getDataUseInModel()

DataUseInModelId getDataUseInModel ( )

Returns the enable/disable an usage of the input dataset in kNN model flag

Returns
Enable/disable an usage of the input dataset in kNN model flag

◆ getK()

long getK ( )

Returns the number of neighbors

Returns
Number of neighbors

◆ getSeed()

int getSeed ( )
Deprecated:
This item will be removed in a future release.

Returns the seed for random choosing elements from training dataset

Returns
Seed for random choosing elements from training dataset

◆ setDataUseInModel()

void setDataUseInModel ( DataUseInModelId  flag)

Sets the enable/disable an usage of the input dataset in kNN model flag

Parameters
flagEnable/disable an usage of the input dataset in kNN model flag

◆ setEngine()

void setEngine ( com.intel.daal.algorithms.engines.BatchBase  engine)

Sets the engine to be used by the algorithm

Parameters
engineto be used by the algorithm

◆ setK()

void setK ( long  k)

Sets the number of neighbors

Parameters
kNumber of neighbors

◆ setSeed()

void setSeed ( int  seed)
Deprecated:
This item will be removed in a future release.

Sets the seed for random choosing elements from training dataset

Parameters
seedSeed for random choosing elements from training dataset

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

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