Predicts the results of the multinomial naive Bayes classification.
More...
- Deprecated:
- This item will be removed in a future release.
- Parameters
-
fptype | Data type to use in intermediate computations for prediction based on the multinomial naive Bayes model, double or float |
method | Multinomial naive Bayes prediction method, Method |
- Enumerations
- Method Multinomial naive Bayes prediction methods
- Aliases
Batch_Float64DefaultDense
is an alias of Batch(fptype=float64, method=daal.algorithms.multinomial_naive_bayes.prediction.defaultDense)
Batch_Float64FastCSR
is an alias of Batch(fptype=float64, method=daal.algorithms.multinomial_naive_bayes.prediction.fastCSR)
Batch_Float32DefaultDense
is an alias of Batch(fptype=float32, method=daal.algorithms.multinomial_naive_bayes.prediction.defaultDense)
Batch_Float32FastCSR
is an alias of Batch(fptype=float32, method=daal.algorithms.multinomial_naive_bayes.prediction.fastCSR)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Default constructor
- Parameters
-
nClasses | Number of classes |
- Variant 2
Constructs multinomial naive Bayes prediction algorithm by copying input objects and parameters of another multinomial naive Bayes prediction algorithm
- Parameters
-
other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
Returns a pointer to the newly allocated multinomial naive Bayes prediction algorithm with a copy of input objects and parameters of this multinomial naive Bayes prediction algorithm
- Returns
- Pointer to the newly allocated algorithm
Get input objects for the multinomial naive Bayes prediction algorithm
- Returns
- Input objects for the multinomial naive Bayes prediction algorithm
Returns method of the algorithm
- Returns
- Method of the algorithm
Input objects of the algorithm
The documentation for this class was generated from the following file:
- multinomial_naive_bayes/prediction.py