Interface for K-Means distributed Input classes used with plusPlus and parallelPlus methods only on the 3rd step on a master node.
More...
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
def add |
( |
|
self, |
|
|
|
id, |
|
|
|
key, |
|
|
|
ptr |
|
) |
| |
Add an input object for computing initial centroids for K-Means algorithm
- Parameters
-
id | Identifier of the input object |
key | Identifier of the node this object comes from |
ptr | Pointer to the input object |
def check |
( |
|
self, |
|
|
|
par, |
|
|
|
method |
|
) |
| |
Checks an input object for computing initial centroids for K-Means algorithm
- Parameters
-
par | Input object |
method | Method of the algorithm |
Returns input objects for computing initial centroids for K-Means algorithm
- Parameters
-
id | Identifier of the input object |
- Returns
- Input object that corresponds to the given identifier
def set |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets an input object for computing initial centroids for K-Means algorithm
- Parameters
-
id | Identifier of the input object |
ptr | Pointer to the input object |
The documentation for this class was generated from the following file: