Partial results obtained with the compute() method of the K-Means algorithm in the batch processing mode.
More...
| def allocate_{Float64|Float32} |
( |
|
self, |
|
|
|
input, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Allocates memory to store partial results of the K-Means algorithm
- Parameters
-
| input | Pointer to the structure of the input objects |
| parameter | Pointer to the structure of the algorithm parameters |
| method | Computation method of the algorithm |
- Full Names
allocate_Float64 is for float64
allocate_Float32 is for float32
- Variant 1
Checks partial results of the K-Means algorithm
- Parameters
-
| input | Input object of the algorithm |
| par | Algorithm parameter |
| method | Computation method |
- Variant 2
Checks partial results of the K-Means algorithm
- Parameters
-
| par | Algorithm parameter |
| method | Computation method |
Returns a partial result of the K-Means algorithm
- Parameters
-
| id | Identifier of the partial result |
- Returns
- Partial result that corresponds to the given identifier
| def getNumberOfFeatures |
( |
|
self | ) |
|
Returns the number of features in the Input data table
- Returns
- Number of features in the Input data table
| def getSerializationTag |
( |
|
self | ) |
|
getSerializationTag(PartialResult self) -> int
| def set |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets a partial result of the K-Means algorithm
- Parameters
-
| id | Identifier of the partial result |
| ptr | Pointer to the object |
The documentation for this class was generated from the following file:
- algorithms/kmeans/__init__.py