Provides methods to access final results obtained with the compute() method of the naive Bayes training algorithm in the batch processing mode or with the finalizeCompute() method in the distributed or online processing mode.
More...
DAAL_EXPORT services::Status allocate |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
const int |
method |
|
) |
| |
Allocates memory for storing final result computed with naive Bayes training algorithm
- Parameters
-
[in] | input | Pointer to input object |
[in] | parameter | Pointer to parameter |
[in] | method | Computation method |
- Returns
- Status of computations
DAAL_EXPORT services::Status allocate |
( |
const daal::algorithms::PartialResult * |
partialResult, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
const int |
method |
|
) |
| |
Allocates memory for storing final result computed with naive Bayes training algorithm
- Parameters
-
[in] | partialResult | Pointer to partial result structure |
[in] | parameter | Pointer to parameter structure |
[in] | method | Computation method |
- Returns
- Status of computations
services::Status check |
( |
const daal::algorithms::PartialResult * |
partialResult, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
int |
method |
|
) |
| const |
Checks the correctness of Result object
- Parameters
-
[in] | partialResult | Pointer to the partial results structure |
[in] | parameter | Parameter of the algorithm |
[in] | method | Computation method |
- Returns
- Status of computations
services::Status check |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
int |
method |
|
) |
| const |
Checks the final result of the naive Bayes training algorithm
- Parameters
-
[in] | input | Input of algorithm |
[in] | parameter | Parameter of algorithm |
[in] | method | Computation method |
- Returns
- Status of computations
Returns the model trained with the naive Bayes training algorithm
- Parameters
-
- Returns
- Model trained with the classification algorithm
The documentation for this class was generated from the following file: