Java* API Reference for Intel® Data Analytics Acceleration Library 2019
Runs multinomial naive Bayes model based prediction. More...
| PredictionBatch | ( | DaalContext | context, |
| PredictionBatch | other | ||
| ) |
Constructs multinomial naive Bayes prediction algorithm by copying input objects and parameters of another multinomial naive Bayes prediction algorithm
| context | Context to manage the multinomial naive Bayes prediction |
| other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
| PredictionBatch | ( | DaalContext | context, |
| Class<?extends Number > | cls, | ||
| PredictionMethod | method, | ||
| long | nClasses | ||
| ) |
Constructs multinomial naive Bayes prediction algorithm
| context | Context to manage the multinomial naive Bayes prediction |
| cls | Data type to use in intermediate computations for multinomial naive Bayes prediction, Double.class or Float.class |
| method | Multinomial naive Bayes prediction method, PredictionMethod |
| nClasses | Number of classes |
| PredictionBatch clone | ( | DaalContext | context | ) |
Returns the newly allocated multinomial naive Bayes prediction algorithm with a copy of input objects and parameters of this multinomial naive Bayes prediction algorithm
| context | Context to manage the multinomial naive Bayes prediction |
| PredictionInput input |
Input data
| PredictionMethod method |
Prediction method for the algorithm
| Parameter parameter |
Parameters of the algorithm
For more complete information about compiler optimizations, see our Optimization Notice.