Algorithm class for training naive Bayes model in the online processing mode.
More...
Constructs multinomial naive Bayes training algorithm by copying input objects and parameters of another multinomial naive Bayes training algorithm
- Parameters
-
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 |
Constructs multinomial naive Bayes training algorithm
- Parameters
-
context | Context to manage the multinomial naive Bayes training |
cls | Data type to use in intermediate computations of the multinomial naive Bayes training in the online processing mode, Double.class or Float.class |
method | Multinomial naive Bayes training method, TrainingMethod |
nClasses | Number of classes |
Returns the newly allocated multinomial naive Bayes training algorithm with a copy of input objects and parameters of this multinomial naive Bayes training algorithm
- Parameters
-
context | Context to manage the multinomial naive Bayes training |
- Returns
- The newly allocated algorithm
Computes naive Bayes training results in the online processing mode
- Returns
- Naive Bayes training results in the online processing mode
Computes naive Bayes training results in the online processing mode
- Returns
- Naive Bayes training results in the online processing mode
Registers user-allocated memory to store naive Bayes training partial results
- Parameters
-
result | Structure to store naive Bayes training partial results |
Registers user-allocated memory to store naive Bayes training results
- Parameters
-
result | Structure to store naive Bayes training results |
Training method for the algorithm
Parameters of the algorithm
The documentation for this class was generated from the following file:
- multinomial_naive_bayes/training/TrainingOnline.java