Input objects of the naive Bayes training algorithm in the distributed processing mode.
More...
| def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
| def add |
( |
|
self, |
|
|
|
id, |
|
|
|
partialResult |
|
) |
| |
Adds input object on the master node in the training stage of the classification algorithm
- Parameters
-
| id | Identifier of the input object |
| partialResult | Pointer to the object |
| def check |
( |
|
self, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Checks input parameters in the training stage of the classification algorithm
- Parameters
-
| parameter | Parameter of the algorithm |
| method | Algorithm method |
Returns input objects of the classification algorithm in the distributed processing mode
- Parameters
-
| id | Identifier of the input objects |
- Returns
- Input object that corresponds to the given identifier
| def getNumberOfFeatures |
( |
|
self | ) |
|
getNumberOfFeatures(DistributedInput self) -> size_t
| def set |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Sets input object in the training stage of the classification algorithm
- Parameters
-
| id | Identifier of the object |
| value | Pointer to the object |
The documentation for this class was generated from the following file:
- multinomial_naive_bayes/training.py