C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

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

Additional Inherited Members

- Static Protected Member Functions inherited from Argument
static data_management::DataCollectionPtr & getStorage (Argument &a)
 
static const data_management::DataCollectionPtr & getStorage (const Argument &a)
 

Class Declaration

Member Function Documentation

◆ allocate()

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

◆ check() [1/2]

services::Status check ( const daal::algorithms::Input input,
const daal::algorithms::Parameter parameter,
int  method 
) const
virtual

Checks partial result of the naive Bayes training algorithm

Parameters
[in]inputAlgorithm input object
[in]parameterAlgorithm parameter
[in]methodComputation method
Returns
Status of computations

Reimplemented from PartialResult.

◆ check() [2/2]

services::Status check ( const daal::algorithms::Parameter parameter,
int  method 
) const
virtual

Checks partial result of the naive Bayes training algorithm

Parameters
[in]parameterAlgorithm parameter
[in]methodComputation method
Returns
Status of computations

Reimplemented from PartialResult.

◆ get()

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

◆ getNumberOfFeatures()

size_t getNumberOfFeatures ( ) const

Returns number of columns in the naive Bayes partial result

Returns
Number of columns in the partial result

◆ initialize()

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.