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

List of all members
Parameter Struct Reference

Naive Bayes algorithm parameters. More...

Class Declaration

struct DAAL_EXPORT Parameter : public classifier::Parameter
{
Parameter(size_t nClasses, const data_management::NumericTablePtr &priorClassEstimates_ = data_management::NumericTablePtr(),
const data_management::NumericTablePtr &alpha_ = data_management::NumericTablePtr()) :
classifier::Parameter(nClasses), priorClassEstimates(priorClassEstimates_), alpha(alpha_) {}
data_management::NumericTablePtr priorClassEstimates;
data_management::NumericTablePtr alpha;
services::Status check() const DAAL_C11_OVERRIDE;
};

Constructor & Destructor Documentation

Parameter ( size_t  nClasses,
const data_management::NumericTablePtr &  priorClassEstimates_ = data_management::NumericTablePtr(),
const data_management::NumericTablePtr &  alpha_ = data_management::NumericTablePtr() 
)
inline

Main constructor

Parameters
[in]nClassesNumber of classes
[in]priorClassEstimates_Prior class estimates, numeric table of size [nClasses x 1]
[in]alpha_Imagined occurrences of the each feature, numeric table of size [1 x nFeatures]

Member Data Documentation

data_management::NumericTablePtr alpha

Imagined occurrences of the each word

data_management::NumericTablePtr priorClassEstimates

Prior class estimates


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

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