PartialModel represents partial multinomial naive Bayes model.
More...
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.
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.
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
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
size_t getNFeatures |
( |
| ) |
const |
|
inline |
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
size_t getNumberOfFeatures |
( |
| ) |
const |
|
inline |
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
void setNFeatures |
( |
size_t |
nFeatures | ) |
|
|
inline |
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 |
The documentation for this class was generated from the following file: