Provides methods to access partial results obtained with the compute() method of the naive Bayes training algorithm in the online or distributed processing.
More...
◆ allocate()
Allocates memory for storing partial results of the naive Bayes training algorithm
- Parameters
-
[in] | input | Pointer to input object |
[in] | parameter | Pointer to parameter |
[in] | method | Computation method |
- Returns
- Status of computations
◆ check() [1/2]
Checks partial result of the naive Bayes training algorithm
- Parameters
-
[in] | input | Algorithm input object |
[in] | parameter | Algorithm parameter |
[in] | method | Computation method |
- Returns
- Status of computations
Reimplemented from PartialResult.
◆ check() [2/2]
Checks partial result of the naive Bayes training algorithm
- Parameters
-
[in] | parameter | Algorithm parameter |
[in] | method | Computation method |
- Returns
- Status of computations
Reimplemented from PartialResult.
◆ get()
Returns the partial model trained with the classification algorithm
- Parameters
-
- Returns
- Model trained with the classification algorithm
◆ getNumberOfFeatures()
size_t getNumberOfFeatures |
( |
| ) |
const |
Returns number of columns in the naive Bayes partial result
- Returns
- Number of columns in the partial result
◆ initialize()
Initializes memory for storing partial results of the naive Bayes training algorithm
- Parameters
-
[in] | input | Pointer to input object |
[in] | parameter | Pointer to parameter |
[in] | method | Computation method |
- Returns
- Status of initialization
The documentation for this class was generated from the following file: