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

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

Predicts the results of the multinomial naive Bayes classification. More...

Class Declaration

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

Template Parameters
algorithmFPTypeData type to use in intermediate computations for prediction based on the multinomial naive Bayes model, double or float
methodMultinomial naive Bayes prediction method, Method
Enumerations
  • Method Multinomial naive Bayes prediction methods

Constructor & Destructor Documentation

Batch ( size_t  nClasses)
inline

Default constructor

Parameters
nClassesNumber of classes
Batch ( const Batch< algorithmFPType, method > &  other)
inline

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

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

Member Function Documentation

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

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

Returns
Pointer to the newly allocated algorithm
InputType* getInput ( )
inline

Get input objects for the multinomial naive Bayes prediction algorithm

Returns
Input objects for the multinomial naive Bayes prediction algorithm
virtual int getMethod ( ) const
inlinevirtual

Returns method of the algorithm

Returns
Method of the algorithm

Member Data Documentation

InputType input

Input objects of the algorithm

ParameterType parameter

Parameters of the prediction algorithm


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

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