Multinomial naive Bayes model.
More...
◆ Model() [1/2]
Empty constructor for deserialization
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
◆ Model() [2/2]
DAAL_EXPORT Model |
( |
size_t |
nFeatures, |
|
|
const Parameter & |
parameter, |
|
|
modelFPType |
dummy |
|
) |
| |
Constructs multinomial naive Bayes model
- Parameters
-
[in] | nFeatures | The number of features |
[in] | parameter | The multinomial naive Bayes parameter |
[in] | dummy | Dummy variable for the templated constructor |
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
◆ create()
Constructs multinomial naive Bayes model
- Parameters
-
[in] | nFeatures | The number of features |
[in] | parameter | The multinomial naive Bayes parameter |
[out] | stat | Status of the model construction |
◆ getAuxTable()
data_management::NumericTablePtr getAuxTable |
( |
| ) |
|
|
inline |
Returns a pointer to the Numeric Table with logarithms of the conditional probabilities
- Returns
- Pointer to the Numeric Table with logarithms of the conditional probabilities
◆ getLogP()
data_management::NumericTablePtr getLogP |
( |
| ) |
|
|
inline |
Returns a pointer to the Numeric Table with logarithms of priors
- Returns
- Pointer to the Numeric Table with logarithms of priors
◆ getLogTheta()
data_management::NumericTablePtr getLogTheta |
( |
| ) |
|
|
inline |
Returns a pointer to the Numeric Table with logarithms of the conditional probabilities
- Returns
- Pointer to the Numeric Table with logarithms of the conditional probabilities
◆ getNumberOfFeatures()
size_t getNumberOfFeatures |
( |
| ) |
const |
|
inlinevirtual |
Retrieves the number of features in the dataset was used on the training stage
- Returns
- Number of features in the dataset was used on the training stage
Implements Model.
The documentation for this class was generated from the following file: