Interface for K-Means initialization distributed Input classes used with plusPlus and parallelPlus methods only on the 2nd step on a local node.
More...
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
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 |
def getInput |
( |
|
self, |
|
|
|
id |
|
) |
| |
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 getLocal |
( |
|
self, |
|
|
|
id |
|
) |
| |
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 getStepInput |
( |
|
self, |
|
|
|
id |
|
) |
| |
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 setInput |
( |
|
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 |
def setLocal |
( |
|
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 |
def setStepInput |
( |
|
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: