Provides methods to access final results obtained with the compute() method of the naive Bayes training algorithm in the batch processing mode or with the finalizeCompute() method in the distributed or online processing mode.
More...
def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Allocates memory for storing final result computed with naive Bayes training algorithm
- Parameters
-
input | Pointer to input object |
parameter | Pointer to parameter |
method | Computation method |
- Returns
- Status of computations
- Variant 2
Allocates memory for storing final result computed with naive Bayes training algorithm
- Parameters
-
partialResult | Pointer to partial result structure |
parameter | Pointer to parameter structure |
method | Computation method |
- Returns
- Status of computations
- Full Names
allocate_Float64
is for float64
allocate_Float32
is for float32
- Variant 1
Checks the correctness of Result object
- Parameters
-
partialResult | Pointer to the partial results structure |
parameter | Parameter of the algorithm |
method | Computation method |
- Returns
- Status of computations
- Variant 2
Checks the final result of the naive Bayes training algorithm
- Parameters
-
input | Input of algorithm |
parameter | Parameter of algorithm |
method | Computation method |
- Returns
- Status of computations
Returns the model trained with the naive Bayes training algorithm
- Parameters
-
id | Identifier of the result, classifier.training.ResultId |
- Returns
- Model trained with the classification algorithm
def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Result self) -> int
The documentation for this class was generated from the following file:
- multinomial_naive_bayes/training.py