Input objects for the K-Means algorithm
More...
| def check |
( |
|
self, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Checks input objects for the K-Means algorithm
- Parameters
-
| par | Algorithm parameter |
| method | Computation method of the algorithm |
Returns an input object for the K-Means algorithm
- Parameters
-
| id | Identifier of the input object |
- Returns
- Input object that corresponds to the given identifier
| def getNumberOfFeatures |
( |
|
self | ) |
|
Returns the number of features in the input object
- Returns
- Number of features in the input object
| def set |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets an input object for the K-Means algorithm
- Parameters
-
| id | Identifier of the input object |
| ptr | Pointer to the object |
The documentation for this class was generated from the following file:
- algorithms/kmeans/__init__.py