Multinomial naive Bayes model.
More...
|
template<typename modelFPType > |
static DAAL_EXPORT
services::SharedPtr< Model > | create (size_t nFeatures, const interface1::Parameter ¶meter, services::Status *stat=NULL) |
|
template<typename modelFPType > |
static DAAL_EXPORT
services::SharedPtr< Model > | create (size_t nFeatures, const interface2::Parameter ¶meter, services::Status *stat=NULL) |
|
Empty constructor for deserialization
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
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.
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.
static DAAL_EXPORT services::SharedPtr<Model> create |
( |
size_t |
nFeatures, |
|
|
const interface1::Parameter & |
parameter, |
|
|
services::Status * |
stat = NULL |
|
) |
| |
|
static |
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 |
static DAAL_EXPORT services::SharedPtr<Model> create |
( |
size_t |
nFeatures, |
|
|
const interface2::Parameter & |
parameter, |
|
|
services::Status * |
stat = NULL |
|
) |
| |
|
static |
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 |
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
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
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
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
The documentation for this class was generated from the following file: