Interface for the K-Means distributed Input classes.
More...
| def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
| def add |
( |
|
self, |
|
|
|
id, |
|
|
|
value |
|
) |
| |
Adds a value to the data collection of input objects for computing initial centroids for the K-Means algorithm in the 5th step of the distributed processing mode
- Parameters
-
| id | Identifier of the parameter |
| value | Pointer to the new parameter value |
| def check |
( |
|
self, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Checks an input object for computing initial centroids for the K-Means algorithm in the 5th step of the distributed processing mode
- Parameters
-
| par | Parameter of the algorithm |
| method | Computation method of the algorithm |
| def getInput |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns an input object for computing initial centroids for the K-Means algorithm in the 5th step of the distributed processing mode
- Parameters
-
| id | Identifier of the input object |
- Returns
- Input object that corresponds to the given identifier
| def getStepInput |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns an input object for computing initial centroids for the K-Means algorithm in the 5th step of the distributed processing mode
- Parameters
-
| id | Identifier of the input object |
- Returns
- Input object that corresponds to the given identifier
| def setInput |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets an input object for computing initial centroids for the K-Means algorithm in the 5th step of the distributed processing mode
- Parameters
-
| id | Identifier of the input object |
| ptr | Pointer to the object |
| def setStepInput |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets an input object for computing initial centroids for the K-Means algorithm in the 5th step of the distributed processing mode
- Parameters
-
| id | Identifier of the input object |
| ptr | Pointer to the object |
The documentation for this class was generated from the following file: