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

List of all members
PartialResult Class Reference

Provides methods to access partial results obtained with the compute() method of the naive Bayes training algorithm in the online or distributed processing. 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 partial results of the naive Bayes training algorithm

Parameters
[in]inputPointer to input object
[in]parameterPointer to parameter
[in]methodComputation 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]inputAlgorithm input object
[in]parameterAlgorithm parameter
[in]methodComputation 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]parameterAlgorithm parameter
[in]methodComputation method
Returns
Status of computations
multinomial_naive_bayes::PartialModelPtr get ( classifier::training::PartialResultId  id) const

Returns the partial model trained with the classification algorithm

Parameters
[in]idIdentifier of the partial model, classifier::training::PartialResultId
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]inputPointer to input object
[in]parameterPointer to parameter
[in]methodComputation method
Returns
Status of initialization

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

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