Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 1
Algorithm class for training naive Bayes model on the first step in the distributed processing mode. More...
TrainingDistributedStep1Local | ( | DaalContext | context, |
TrainingDistributedStep1Local | other | ||
) |
Constructs multinomial naive Bayes training algorithm by copying input objects and parameters of another multinomial naive Bayes training algorithm
context | Context to manage the multinomial naive Bayes training |
other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
TrainingDistributedStep1Local | ( | DaalContext | context, |
Class<?extends Number > | cls, | ||
TrainingMethod | method, | ||
long | nClasses | ||
) |
Constructs multinomial naive Bayes training algorithm
context | Context to manage the multinomial naive Bayes training |
cls | Data type to use in intermediate computations of the multinomial naive Bayes training on the first step in the distributed processing mode, Double.class or Float.class |
method | Multinomial naive Bayes training method, TrainingMethod |
nClasses | Number of classes |
TrainingDistributedStep1Local clone | ( | DaalContext | context | ) |
Returns the newly allocated multinomial naive Bayes training algorithm with a copy of input objects and parameters of this multinomial naive Bayes training algorithm
context | Context to manage the multinomial naive Bayes training |
For more complete information about compiler optimizations, see our Optimization Notice.