PartialModel represents partial multinomial naive Bayes model.
More...
◆ PartialModel() [1/2]
◆ PartialModel() [2/2]
Constructs multinomial naive Bayes partial model
- Parameters
-
[in] | nFeatures | The number of features |
[in] | parameter | Multinomial naive Bayes parameter |
[in] | dummy | Dummy variable for the templated constructor |
- Deprecated:
- This item will be removed in a future release. Use PartialModel::create instead.
◆ create()
Constructs multinomial naive Bayes partial model
- Parameters
-
[in] | nFeatures | The number of features |
[in] | parameter | The multinomial naive Bayes parameter |
[out] | stat | Status of the model construction |
- Returns
- Multinomial naive Bayes partial model
◆ getNFeatures()
size_t getNFeatures |
( |
| ) |
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
Reimplemented from Model.
◆ 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.
◆ setNFeatures()
void setNFeatures |
( |
size_t |
nFeatures | ) |
|
|
inlinevirtual |
Sets the number of features in the dataset was used on the training stage
- Parameters
-
[in] | nFeatures | Number of features in the dataset was used on the training stage |
Reimplemented from Model.
The documentation for this class was generated from the following file: