PartialModel represents partial multinomial naive Bayes model.
More...
|
template<typename modelFPType > |
static DAAL_EXPORT
services::SharedPtr
< PartialModel > | create (size_t nFeatures, const Parameter ¶meter, services::Status *stat=NULL) |
|
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.
static DAAL_EXPORT services::SharedPtr<PartialModel> create |
( |
size_t |
nFeatures, |
|
|
const Parameter & |
parameter, |
|
|
services::Status * |
stat = NULL |
|
) |
| |
|
static |
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: