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

List of all members
OnlineContainer< algorithmFPType, method, cpu > Class Template Reference

Class containing computation methods for naive Bayes training in the online processing mode. More...

Class Declaration

template<typename algorithmFPType, Method method, CpuType cpu>
class daal::algorithms::multinomial_naive_bayes::training::interface2::OnlineContainer< algorithmFPType, method, cpu >

Template Parameters
algorithmFPTypeData type to use in intermediate computations for the naive Bayes in the online processing mode, double or float
methodNaive Bayes computation method, Method

Constructor & Destructor Documentation

OnlineContainer ( daal::services::Environment::env *  daalEnv)

Constructs a container for multinomial naive Bayes model-based training with a specified environment in the online processing mode

Parameters
[in]daalEnvEnvironment object

Default destructor

Member Function Documentation

services::Status compute ( )

Computes a partial result of naive Bayes model-based training in the online processing mode

Returns
Status of computations
services::Status finalizeCompute ( )

Computes the result of naive Bayes model-based training in the online processing mode

Returns
Status of computations

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

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