Algorithm class for training naive Bayes final model on the second step in the distributed processing mode.
More...
template<typename algorithmFPType, Method method>
class daal::algorithms::multinomial_naive_bayes::training::interface1::Distributed< step2Master, algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations for the multinomial naive Bayes training on the second step in distributed processing mode, double or float |
method | Naive Bayes training method on the second step in distributed processing mode, Method |
- Enumerations
- Method Training methods for the multinomial naive Bayes algorithm
◆ Distributed() [1/2]
Default constructor
- Parameters
-
nClasses | Number of classes |
◆ Distributed() [2/2]
Constructs multinomial naive Bayes training algorithm by copying input objects and parameters of another multinomial naive Bayes training algorithm
- Parameters
-
[in] | other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
◆ checkFinalizeComputeParams()
◆ clone()
Returns a pointer to the newly allocated multinomial naive Bayes training algorithm with a copy of input objects and parameters of this multinomial naive Bayes training algorithm
- Returns
- Pointer to the newly allocated algorithm
◆ getMethod()
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns method of the algorithm
- Returns
- Method of the algorithm
Implements AlgorithmIface.
◆ getPartialResult()
Returns the structure that contains computed partial results
- Returns
- Structure that contains computed partial results
◆ getResult()
Returns the structure that contains results of Naive Bayes training
- Returns
- Structure that contains results of Naive Bayes training
◆ setPartialResult()
Registers user-allocated memory for storing partial training results
- Parameters
-
[in] | partialResult | Structure for storing partial results |
◆ setResult()
Registers user-allocated memory to store results of Naive Bayes training
- Parameters
-
[in] | result | Structure to store results of Naive Bayes training |
- Returns
- Status of computations
◆ input
Input objects of the algorithm
◆ parameter
The documentation for this class was generated from the following file: