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

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

Algorithm class for training the naive Bayes model. More...

Class Declaration

template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::multinomial_naive_bayes::training::interface1::Batch< algorithmFPType, method >

Template Parameters
algorithmFPTypeData type to use in intermediate computations for multinomial naive Bayes training, double or float
methodComputation method, Method
Enumerations
  • Method Training methods for the multinomial naive Bayes algorithm

Constructor & Destructor Documentation

◆ Batch() [1/2]

Batch ( size_t  nClasses)
inline

Default constructor

Parameters
nClassesNumber of classes

◆ Batch() [2/2]

Batch ( const Batch< algorithmFPType, method > &  other)
inline

Constructs multinomial naive Bayes training algorithm by copying input objects and parameters of another multinomial naive Bayes training algorithm

Parameters
[in]otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm

Member Function Documentation

◆ clone()

services::SharedPtr<Batch<algorithmFPType, method> > clone ( ) const
inline

Returns a pointer to the newly allocated multinomial naive Bayes training algorithm with a copy of input objects and parameters of this multinomial naive Bayes training algorithm

Returns
Pointer to the newly allocated algorithm

◆ getInput()

InputType* getInput ( )
inlinevirtual

Get input objects for the multinomial naive Bayes training algorithm

Returns
Input objects for the multinomial naive Bayes training algorithm

Implements Batch.

◆ getMethod()

virtual int getMethod ( ) const
inlinevirtual

Returns method of the algorithm

Returns
Method of the algorithm

Implements AlgorithmIface.

◆ getResult()

ResultPtr getResult ( )
inline

Returns the structure that contains results of Naive Bayes training

Returns
Structure that contains results of Naive Bayes training

◆ resetResult()

services::Status resetResult ( )
inlinevirtual

Resets the results of the classifier model training algorithm

Returns
Status of the operation

Implements Batch.

Member Data Documentation

◆ input

InputType input

Input objects of the algorithm

◆ parameter

ParameterType parameter

Parameters of the training algorithm


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

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