Provides methods to access partial results obtained with the compute() method of the naive Bayes training algorithm in the online or distributed processing.
More...
def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory for storing partial results of the naive Bayes training algorithm
- Parameters
-
input | Pointer to input object |
parameter | Pointer to parameter |
method | Computation method |
- Returns
- Status of computations
- Full Names
allocate_Float64
is for float64
allocate_Float32
is for float32
- Variant 1
Checks partial result of the naive Bayes training algorithm
- Parameters
-
- Returns
- Status of computations
- Variant 2
Checks partial result of the naive Bayes training algorithm
- Parameters
-
parameter | Algorithm parameter |
method | Computation method |
- Returns
- Status of computations
Returns the partial model trained with the classification algorithm
- Parameters
-
id | Identifier of the partial model, classifier.training.PartialResultId |
- Returns
- Model trained with the classification algorithm
def getNumberOfFeatures |
( |
|
self | ) |
|
Returns number of columns in the naive Bayes partial result
- Returns
- Number of columns in the partial result
def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(PartialResult self) -> int
def initialize_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Initializes memory for storing partial results of the naive Bayes training algorithm
- Parameters
-
input | Pointer to input object |
parameter | Pointer to parameter |
method | Computation method |
- Returns
- Status of initialization
- Full Names
initialize_Float64
is for float64
initialize_Float32
is for float32
The documentation for this class was generated from the following file:
- multinomial_naive_bayes/training.py