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

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

Algorithm class for training naive Bayes final model on the second step in the distributed processing mode. More...

Class Declaration

template<typename algorithmFPType, Method method>
class daal::algorithms::multinomial_naive_bayes::training::interface1::Distributed< step2Master, algorithmFPType, method >

Deprecated:
This item will be removed in a future release.
Template Parameters
algorithmFPTypeData type to use in intermediate computations for the multinomial naive Bayes training on the second step in distributed processing mode, double or float
methodNaive Bayes training method on the second step in distributed processing mode, Method
Enumerations
  • Method Training methods for the multinomial naive Bayes algorithm

Constructor & Destructor Documentation

DAAL_DEPRECATED Distributed ( size_t  nClasses)
inline

Default constructor

Parameters
nClassesNumber of classes
DAAL_DEPRECATED Distributed ( const Distributed< step2Master, 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

DAAL_DEPRECATED services::Status checkFinalizeComputeParams ( )
inline

Validates parameters of the finalizeCompute() method

Returns
Status of computations
DAAL_DEPRECATED services::SharedPtr<Distributed<step2Master, 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
virtual DAAL_DEPRECATED_VIRTUAL int getMethod ( ) const
inlinevirtual

Returns method of the algorithm

Returns
Method of the algorithm
DAAL_DEPRECATED PartialResultPtr getPartialResult ( )
inline

Returns the structure that contains computed partial results

Returns
Structure that contains computed partial results
DAAL_DEPRECATED ResultPtr getResult ( )
inline

Returns the structure that contains results of Naive Bayes training

Returns
Structure that contains results of Naive Bayes training
DAAL_DEPRECATED services::Status setPartialResult ( const PartialResultPtr &  partialResult)
inline

Registers user-allocated memory for storing partial training results

Parameters
[in]partialResultStructure for storing partial results
DAAL_DEPRECATED services::Status setResult ( const ResultPtr &  result)
inline

Registers user-allocated memory to store results of Naive Bayes training

Parameters
[in]resultStructure to store results of Naive Bayes training
Returns
Status of computations

Member Data Documentation

InputType input

Input objects of the algorithm

ParameterType parameter

Parameters of the distributed training algorithm


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

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