Provides methods to access final results obtained with the compute() method of the EM for GMM algorithm in the batch processing mode.
More...
| def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory for storing results of the EM for GMM algorithm
- Parameters
-
| input | Pointer to the input structure |
| parameter | Pointer to the parameter structure |
| method | Computation method |
- Full Names
allocate_Float64 is for float64
allocate_Float32 is for float32
| def check |
( |
|
self, |
|
|
|
input, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Checks the result parameter of the EM for GMM algorithm
- Parameters
-
| input | Input of the algorithm |
| par | Parameter of algorithm |
| method | Computation method |
| def getCovariances |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Returns the collection of computed covariances of the EM for GMM algorithm
- Parameters
-
| id | Identifier of the collection of computed covariances |
- Returns
- Collection of computed covariances that corresponds to the given identifier
- Variant 2
Returns the covariance with a given index from the collection of computed covariances
- Parameters
-
| id | Identifier of the collection of covariances |
| index | Index of the covariance to be returned |
- Returns
- Pointer to the table with the computed covariance
| def getResult |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns the result of the EM for GMM algorithm
- Parameters
-
- Returns
- Result that corresponds to the given identifier
| def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(Result self) -> int
| def setCovariances |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets the collection of covariances for the EM for GMM algorithm
- Parameters
-
| id | Identifier of the collection of covariances |
| ptr | Pointer to the collection of covariances |
| def setResult |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets the result of the EM for GMM algorithm
- Parameters
-
| id | Result identifier |
| ptr | Pointer to the numeric table with the result |
The documentation for this class was generated from the following file:
- algorithms/em_gmm/__init__.py