C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
Result Class Reference

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...

Class Declaration

Member Function Documentation

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]inputPointer to input object
[in]parameterPointer to parameter
[in]methodComputation 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]partialResultPointer to partial result structure
[in]parameterPointer to parameter structure
[in]methodComputation 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]partialResultPointer to the partial results structure
[in]parameterParameter of the algorithm
[in]methodComputation 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]inputInput of algorithm
[in]parameterParameter of algorithm
[in]methodComputation method
Returns
Status of computations
multinomial_naive_bayes::ModelPtr get ( classifier::training::ResultId  id) const

Returns the model trained with the naive Bayes training algorithm

Parameters
[in]idIdentifier of the result, classifier::training::ResultId
Returns
Model trained with the classification algorithm

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.