Provides methods to access partial results obtained with the compute() method of the naive Bayes training algorithm in the online or distributed processing.
More...
DAAL_EXPORT services::Status allocate |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
const int |
method |
|
) |
| |
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
services::Status check |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
int |
method |
|
) |
| const |
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
services::Status check |
( |
const daal::algorithms::Parameter * |
parameter, |
|
|
int |
method |
|
) |
| const |
Checks partial result of the naive Bayes training algorithm
- Parameters
-
[in] | parameter | Algorithm parameter |
[in] | method | Computation method |
- Returns
- Status of computations
Returns the partial model trained with the classification algorithm
- Parameters
-
- Returns
- Model trained with the classification algorithm
size_t getNumberOfFeatures |
( |
| ) |
const |
Returns number of columns in the naive Bayes partial result
- Returns
- Number of columns in the partial result
DAAL_EXPORT services::Status initialize |
( |
const daal::algorithms::Input * |
input, |
|
|
const daal::algorithms::Parameter * |
parameter, |
|
|
const int |
method |
|
) |
| |
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: